From 53acb54fad1578d72759a20e349a72d7b87f4810 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Wed, 12 May 2021 09:56:55 +0200 Subject: [PATCH] Bump zig-bootstrap and wasmtime versions in linux CI (#8738) * Bump zig-bootstrap and wasmtime versions in linux CI * Revert wasm stage2 test fixup; point to issue --- ci/azure/linux_script | 8 +++++--- test/stage2/wasm.zig | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ci/azure/linux_script b/ci/azure/linux_script index 912a2518bb..64407b79b7 100755 --- a/ci/azure/linux_script +++ b/ci/azure/linux_script @@ -9,7 +9,7 @@ sudo apt-get install -y cmake s3cmd tidy ZIGDIR="$(pwd)" ARCH="$(uname -m)" TARGET="$ARCH-linux-musl" -CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.8.0-dev.1939+5a3ea9bec" +CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.8.0-dev.2168+2d1196773" PREFIX="$HOME/$CACHE_BASENAME" MCPU="baseline" JOBS="-j$(nproc)" @@ -25,8 +25,10 @@ wget -nv "https://ziglang.org/deps/$QEMUBASE.tar.xz" tar xf "$QEMUBASE.tar.xz" export PATH="$(pwd)/$QEMUBASE/bin:$PATH" -WASMTIME="wasmtime-v0.20.0-x86_64-linux" -wget -nv "https://github.com/bytecodealliance/wasmtime/releases/download/v0.20.0/$WASMTIME.tar.xz" +# Bump to v0.23 once this issue is resolved: +# https://github.com/ziglang/zig/issues/8742 +WASMTIME="wasmtime-v0.22.1-x86_64-linux" +wget -nv "https://github.com/bytecodealliance/wasmtime/releases/download/v0.22.1/$WASMTIME.tar.xz" tar xf "$WASMTIME.tar.xz" export PATH="$(pwd)/$WASMTIME:$PATH" diff --git a/test/stage2/wasm.zig b/test/stage2/wasm.zig index ccf2661b44..880587d93f 100644 --- a/test/stage2/wasm.zig +++ b/test/stage2/wasm.zig @@ -58,7 +58,10 @@ pub fn addCases(ctx: *TestContext) !void { , // This is what you get when you take the bits of the IEE-754 // representation of 42.0 and reinterpret them as an unsigned - // integer. Guess that's a bug in wasmtime. + // integer. + // Bug is fixed in wasmtime v0.26 but updating to v0.26 is blocked + // on this issue: + // https://github.com/ziglang/zig/issues/8742 "1109917696\n", );