Skip to content

Commit a4e9243

Browse files
dicejalexcrichton
authored andcommitted
implement Component Model async ABI
This commit replaces the stub functions and types in `wasmtime::runtime::component::concurrent` and its submodules with the working implementation developed in the `wasip3-prototyping` repo. For ease of review, it does not include any new tests; I'll add those in a follow-up commit. Note that this builds on #11123; only the most recent commit is new. Signed-off-by: Joel Dice <[email protected]>
1 parent 886f556 commit a4e9243

File tree

17 files changed

+8540
-780
lines changed

17 files changed

+8540
-780
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/wasmtime/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ smallvec = { workspace = true, optional = true }
6262
hashbrown = { workspace = true, features = ["default-hasher"] }
6363
bitflags = { workspace = true }
6464
futures = { workspace = true, features = ["alloc"], optional = true }
65+
bytes = { workspace = true, optional = true }
6566

6667
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
6768
workspace = true
@@ -391,4 +392,7 @@ component-model-async = [
391392
"component-model",
392393
"std",
393394
"wasmtime-component-macro?/component-model-async",
395+
"dep:futures",
396+
"futures/std",
397+
"dep:bytes",
394398
]

0 commit comments

Comments
 (0)