Skip to content

Commit a406fb9

Browse files
committed
resource support for componentize-js
This is to support resource handle lifting and lowering from the guest's point-of-view. Unlike with the other, structural data types, resource bindings must be either host- or guest-specific (i.e. the bindings are not symmetric). I'll follow this up with a `componentize-js` PR that includes a bunch of tests. Note that I had to update several dependencies to pull in bytecodealliance/wasm-tools#1218, which addresses the case of a WIT world that `use`s a resource from an interface while also exporting the interface. Signed-off-by: Joel Dice <[email protected]>
1 parent 73771fb commit a406fb9

File tree

5 files changed

+259
-232
lines changed

5 files changed

+259
-232
lines changed

Cargo.lock

Lines changed: 53 additions & 134 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ wasmparser = "0.113.1"
3434
wasmprinter = "0.2.66"
3535
wasmtime-environ = { git = "https://github.com/bytecodealliance/wasmtime", features = ["component-model"] }
3636
wat = "1.0.73"
37-
wit-bindgen = "0.12.0"
38-
wit-bindgen-core = "0.12.0"
39-
wit-component = { version = "0.14.2", features = ["dummy-module"] }
40-
wit-parser = "0.11.1"
37+
wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "2405a79c74c5d61b9bc88c378d475c6c21ed6a9f" }
38+
wit-bindgen-core = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "2405a79c74c5d61b9bc88c378d475c6c21ed6a9f" }
39+
wit-component = { version = "0.15", features = ["dummy-module"] }
40+
wit-parser = "0.12"

0 commit comments

Comments
 (0)