From 9a31ce216274661ac80a64153192f97c9d00f394 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 8 Apr 2024 13:41:04 +0900 Subject: [PATCH] bump wasmtime to 17.0.2 --- .github/workflows/wasmtime.yml | 12 ++++++------ guest_c/build.sh | 2 +- guest_rust/build.sh | 2 +- host_wasmtime/Cargo.toml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/wasmtime.yml b/.github/workflows/wasmtime.yml index 092871d..1038cdc 100644 --- a/.github/workflows/wasmtime.yml +++ b/.github/workflows/wasmtime.yml @@ -43,16 +43,16 @@ jobs: - name: Install wasmtime (ubuntu) if: startsWith(matrix.os, 'ubuntu-') run: | - curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasmtime-v17.0.0-x86_64-linux.tar.xz - tar xvJf wasmtime-v17.0.0-x86_64-linux.tar.xz - echo "WASMTIME=$(pwd -P)/wasmtime-v17.0.0-x86_64-linux/wasmtime" >> ${GITHUB_ENV} + curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.2/wasmtime-v17.0.2-x86_64-linux.tar.xz + tar xvJf wasmtime-v17.0.2-x86_64-linux.tar.xz + echo "WASMTIME=$(pwd -P)/wasmtime-v17.0.2-x86_64-linux/wasmtime" >> ${GITHUB_ENV} - name: Install wasmtime (macOS) if: startsWith(matrix.os, 'macos-') run: | - curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasmtime-v17.0.0-x86_64-macos.tar.xz - tar xvzf wasmtime-v17.0.0-x86_64-macos.tar.xz - echo "WASMTIME=$(pwd -P)/wasmtime-v17.0.0-x86_64-macos/wasmtime" >> ${GITHUB_ENV} + curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.2/wasmtime-v17.0.2-x86_64-macos.tar.xz + tar xvzf wasmtime-v17.0.2-x86_64-macos.tar.xz + echo "WASMTIME=$(pwd -P)/wasmtime-v17.0.2-x86_64-macos/wasmtime" >> ${GITHUB_ENV} - name: Build guest (Rust) run: | diff --git a/guest_c/build.sh b/guest_c/build.sh index b383605..87248ef 100755 --- a/guest_c/build.sh +++ b/guest_c/build.sh @@ -1,7 +1,7 @@ #! /bin/sh set -e if [ ! -f wasi_snapshot_preview1.reactor.wasm ]; then - curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasi_snapshot_preview1.reactor.wasm + curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.2/wasi_snapshot_preview1.reactor.wasm fi if [ ! -d libjpeg ]; then diff --git a/guest_rust/build.sh b/guest_rust/build.sh index 75b0dfd..0203dac 100755 --- a/guest_rust/build.sh +++ b/guest_rust/build.sh @@ -1,7 +1,7 @@ #! /bin/sh set -e if [ ! -f wasi_snapshot_preview1.reactor.wasm ]; then - curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasi_snapshot_preview1.reactor.wasm + curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.2/wasi_snapshot_preview1.reactor.wasm fi release_opt=--release diff --git a/host_wasmtime/Cargo.toml b/host_wasmtime/Cargo.toml index 3b2e2ce..89fefa0 100644 --- a/host_wasmtime/Cargo.toml +++ b/host_wasmtime/Cargo.toml @@ -26,5 +26,5 @@ async-trait = "0.1.77" tokio = { version = "1.37.0", default-features = false } # preview2 and component-model are still moving targets. -wasmtime = { version = "17.0.0", default-features = false, features = ["component-model", "cranelift"]} -wasmtime-wasi = { version = "17.0.0", default-features = false, features = ["preview2", "sync"] } +wasmtime = { version = "17.0.2", default-features = false, features = ["component-model", "cranelift"]} +wasmtime-wasi = { version = "17.0.2", default-features = false, features = ["preview2", "sync"] }