Skip to content

Commit

Permalink
update to Wasmtime 17 and WASI 0.2.0 (#2250)
Browse files Browse the repository at this point in the history
I've taken this opportunity to rename the wit directories to reflect the WASI
snapshots they correspond to.

Note that the Rust and Go SDKs continue to target the 2023-10-18 snapshot for
compatibility.  Likewise, `spin-world`.  `spin-trigger-http`, however, can
handle components targeting either 2023-10-18, 2023-11-10, or the final 0.2.0
release of WASI.

Signed-off-by: Joel Dice <[email protected]>
  • Loading branch information
dicej authored Jan 26, 2024
1 parent 93d22a9 commit e5921ae
Show file tree
Hide file tree
Showing 138 changed files with 2,814 additions and 382 deletions.
114 changes: 76 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,12 @@ hyper = { version = "1.0.0", features = ["full"] }
reqwest = { version = "0.11", features = ["stream", "blocking"] }
tracing = { version = "0.1", features = ["log"] }

# TODO: update to final 17.0.0 release once it's available
wasi-common-preview1 = { git = "https://github.com/bytecodealliance/wasmtime", rev = "0b632023", package = "wasi-common" }
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "0b632023", features = [
"component-model",
] }
wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "0b632023", features = [
wasi-common-preview1 = { version = "17.0.0", package = "wasi-common" }
wasmtime = "17.0.0"
wasmtime-wasi = { version = "17.0.0", features = [
"tokio",
] }
wasmtime-wasi-http = { git = "https://github.com/bytecodealliance/wasmtime", rev = "0b632023" }
wasmtime-wasi-http = "17.0.0"

spin-componentize = { git = "https://github.com/fermyon/spin-componentize", rev = "191789170abde10cd55590466c0660dd6c7d472a" }

Expand Down
Loading

0 comments on commit e5921ae

Please sign in to comment.