Skip to content

Commit 91a3a8b

Browse files
committed
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 <joel.dice@fermyon.com> address review feedback Signed-off-by: Joel Dice <joel.dice@fermyon.com> 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 <joel.dice@fermyon.com> refactor `component-model-async` cfg attrs per review feedback Also, switch to upstream `wasm-tools` main branch. Signed-off-by: Joel Dice <joel.dice@fermyon.com> add `Compiler::new` constructor Signed-off-by: Joel Dice <joel.dice@fermyon.com> add comments covering various lower/lift combos in FACT generator Signed-off-by: Joel Dice <joel.dice@fermyon.com> add `Compiler::global_set` helper function Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent cb195e5 commit 91a3a8b

File tree

21 files changed

+1547
-214
lines changed

21 files changed

+1547
-214
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 15 additions & 0 deletions
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)