Skip to content

Commit

Permalink
🎁 Update to wasmtime 22.0.0 (fastly#392)
Browse files Browse the repository at this point in the history
Update to wasmtime 22.0.0.

This included some pretty substantial changes to the wiggle crate, which removes
runtime borrow checking of guest memory. This is a huge ergonomic improvement,
as the borrows are all tracked as rrust borrows instead.

One piece of functionality that's missing after the wiggle changes is the
ability to interact with a slice of guest memory that's not &[u8]. To work
around this, I'm copying memory over to the host, but in future releases of
wiggle we should have the ability to interact with slices that aren't just to
u8.
  • Loading branch information
elliottt authored and GeeWee committed Jul 25, 2024
1 parent b9ea449 commit 832f866
Show file tree
Hide file tree
Showing 23 changed files with 1,125 additions and 883 deletions.
357 changes: 179 additions & 178 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ futures = "0.3.24"
url = "2.3.1"

# Wasmtime dependencies
wasmtime = "21.0.0"
wasmtime-wasi = "21.0.0"
wasmtime-wasi-nn = "21.0.0"
wiggle = "21.0.0"
wasmtime = "22.0.0"
wasmtime-wasi = "22.0.0"
wasmtime-wasi-nn = "22.0.0"
wiggle = "22.0.0"
wasmparser = "0.208.0"
wasm-encoder = { version = "0.208.0", features = ["wasmparser"] }
wit-component = "0.208.0"
Expand Down
Loading

0 comments on commit 832f866

Please sign in to comment.