Skip to content

Commit

Permalink
bump wasmtime to 17.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 22, 2024
1 parent bf70ac3 commit 9a31ce2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/wasmtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion guest_c/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion guest_rust/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions host_wasmtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit 9a31ce2

Please sign in to comment.