Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump wasmtime to 16.0.0 #33

Merged
merged 4 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/v15.0.1/wasmtime-v15.0.1-x86_64-linux.tar.xz
tar xvJf wasmtime-v15.0.1-x86_64-linux.tar.xz
echo "WASMTIME=$(pwd -P)/wasmtime-v15.0.1-x86_64-linux/wasmtime" >> ${GITHUB_ENV}
curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v16.0.0/wasmtime-v16.0.0-x86_64-linux.tar.xz
tar xvJf wasmtime-v16.0.0-x86_64-linux.tar.xz
echo "WASMTIME=$(pwd -P)/wasmtime-v16.0.0-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/v15.0.1/wasmtime-v15.0.1-x86_64-macos.tar.xz
tar xvzf wasmtime-v15.0.1-x86_64-macos.tar.xz
echo "WASMTIME=$(pwd -P)/wasmtime-v15.0.1-x86_64-macos/wasmtime" >> ${GITHUB_ENV}
curl -O -L https://github.com/bytecodealliance/wasmtime/releases/download/v16.0.0/wasmtime-v16.0.0-x86_64-macos.tar.xz
tar xvzf wasmtime-v16.0.0-x86_64-macos.tar.xz
echo "WASMTIME=$(pwd -P)/wasmtime-v16.0.0-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/v15.0.1/wasi_snapshot_preview1.reactor.wasm
curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v16.0.0/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/v15.0.1/wasi_snapshot_preview1.reactor.wasm
curl --fail -L -O https://github.com/bytecodealliance/wasmtime/releases/download/v16.0.0/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.74"
tokio = { version = "1.35.1", default-features = false }

# preview2 and component-model are still moving targets.
wasmtime = { version = "15.0.1", default-features = false, features = ["component-model", "cranelift"]}
wasmtime-wasi = { version = "15.0.1", default-features = false, features = ["preview2", "sync"] }
wasmtime = { version = "16.0.0", default-features = false, features = ["component-model", "cranelift"]}
wasmtime-wasi = { version = "16.0.0", default-features = false, features = ["preview2", "sync"] }