Commit cb155f0
authored
resource support for
* 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]>
* fix test regressions
Signed-off-by: Joel Dice <[email protected]>
---------
Signed-off-by: Joel Dice <[email protected]>componentize-js (#215)1 parent 73771fb commit cb155f0
File tree
8 files changed
+264
-237
lines changed- crates/js-component-bindgen/src
- test
- fixtures/components
8 files changed
+264
-237
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments