Skip to content

Commit

Permalink
Update the adapter to Wasmtime 17.0 and WASI Preview 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Jan 25, 2024
1 parent 5cf73a6 commit 3856e80
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{path::Path, process::Command};

const WASI_ADAPTER_VERSION: &str = "6613acd";
const WASI_ADAPTER_VERSION: &str = "ab5a448";

fn main() {
println!("cargo:rerun-if-changed=build.rs");
Expand Down
4 changes: 2 additions & 2 deletions tests/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn it_runs_with_reactor_component() -> Result<()> {
fs::write(
project.root().join("wit/deps/cli/run.wit"),
"
package wasi:cli@0.2.0-rc-2023-12-05;
package wasi:cli@0.2.0;
interface run {
run: func() -> result;
Expand All @@ -66,7 +66,7 @@ interface run {
package my:reactor;
world generator {
export wasi:cli/run@0.2.0-rc-2023-12-05;
export wasi:cli/run@0.2.0;
}",
)?;

Expand Down

0 comments on commit 3856e80

Please sign in to comment.