Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91a3a8b

Browse files
committedJan 29, 2025
add component-model-async/fused.wast test
This is another piece of bytecodealliance#9582 which I'm splitting out to make review easier. This test exercises fused adapter generation for various flavors of intercomponent async->async, async->sync, and sync->async calls. The remaining changes fill in some TODOs to make the test pass. Signed-off-by: Joel Dice <[email protected]> address review feedback Signed-off-by: Joel Dice <[email protected]> update `task.return` to match spec This temporarily switches to my fork of `wasm-tools` until bytecodealliance/wasm-tools#1989 is merged. Signed-off-by: Joel Dice <[email protected]> refactor `component-model-async` cfg attrs per review feedback Also, switch to upstream `wasm-tools` main branch. Signed-off-by: Joel Dice <[email protected]> add `Compiler::new` constructor Signed-off-by: Joel Dice <[email protected]> add comments covering various lower/lift combos in FACT generator Signed-off-by: Joel Dice <[email protected]> add `Compiler::global_set` helper function Signed-off-by: Joel Dice <[email protected]>
1 parent cb195e5 commit 91a3a8b

File tree

21 files changed

+1547
-214
lines changed

21 files changed

+1547
-214
lines changed
 

‎Cargo.lock

+19-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+15
Original file line numberDiff line numberDiff line change
@@ -565,3 +565,18 @@ opt-level = 's'
565565
inherits = "release"
566566
codegen-units = 1
567567
lto = true
568+
569+
# TODO: Remove these patches once wasm-tools 1.225 is available:
570+
[patch.crates-io]
571+
wasmparser = { git = "https://github.com/bytecodealliance/wasm-tools" }
572+
wasm-metadata = { git = "https://github.com/bytecodealliance/wasm-tools" }
573+
wat = { git = "https://github.com/bytecodealliance/wasm-tools" }
574+
wast = { git = "https://github.com/bytecodealliance/wasm-tools" }
575+
wasmprinter = { git = "https://github.com/bytecodealliance/wasm-tools" }
576+
wasm-encoder = { git = "https://github.com/bytecodealliance/wasm-tools" }
577+
wasm-smith = { git = "https://github.com/bytecodealliance/wasm-tools" }
578+
wasm-mutate = { git = "https://github.com/bytecodealliance/wasm-tools" }
579+
wit-parser = { git = "https://github.com/bytecodealliance/wasm-tools" }
580+
wit-component = { git = "https://github.com/bytecodealliance/wasm-tools" }
581+
wasm-wave = { git = "https://github.com/bytecodealliance/wasm-tools" }
582+

0 commit comments

Comments
 (0)