Skip to content

Commit 0d66537

Browse files
authored
Pin Wasmer version to prevent test failures (#4203)
* Try installing specific Wasmer version * Add missing repositories to `update-checkout-config.json` * Pin Wasmer to 2.1.1 on Linux
1 parent a9e0106 commit 0d66537

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

utils/update_checkout/update-checkout-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
"swift-tools-support-core": "main",
9494
"swiftpm": "main",
9595
"swift-argument-parser": "1.0.1",
96+
"swift-atomics": "1.0.2",
97+
"swift-collections": "1.0.1",
9698
"swift-crypto": "1.1.5",
9799
"swift-driver": "main",
98100
"swift-syntax": "main",

utils/webassembly/linux/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cd $SWIFT_PATH
7474
# FIXME: Wasmer doesn't support linux-aarch64, consider using a different WASI-compatible runtime.
7575
if [ "$(uname -m)" != "aarch64" ]; then
7676
if [ ! -e ~/.wasmer/bin/wasmer ]; then
77-
curl https://get.wasmer.io -sSfL | sh
77+
curl https://get.wasmer.io -sSfL | sh -s "2.1.1"
7878
fi
7979
fi
8080

utils/webassembly/macos/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ brew install cmake ninja llvm sccache
1111

1212
# Install latest wasmer
1313
if [ ! -e ~/.wasmer/bin/wasmer ]; then
14-
curl https://get.wasmer.io -sSfL | sh
14+
curl https://get.wasmer.io -sSfL | sh -s "2.1.1"
1515
fi
1616

1717
SOURCE_PATH="$(cd "$(dirname $0)/../../../../" && pwd)"

0 commit comments

Comments
 (0)