Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 8ecde5a

Browse files
committed
Update WIT in tests with async
Coupled with bytecodealliance/wit-bindgen#1278
1 parent e503821 commit 8ecde5a

29 files changed

Lines changed: 133 additions & 206 deletions

Cargo.lock

Lines changed: 92 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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -608,9 +608,9 @@ wit-component = { git = "https://github.com/bytecodealliance/wasm-tools" }
608608
wasm-wave = { git = "https://github.com/bytecodealliance/wasm-tools" }
609609
wasm-compose = { git = "https://github.com/bytecodealliance/wasm-tools" }
610610
wasm-metadata = { git = "https://github.com/bytecodealliance/wasm-tools" }
611-
wit-bindgen = { git = "https://github.com/bytecodealliance/witx-bindgen" }
612-
wit-bindgen-rt = { git = "https://github.com/bytecodealliance/witx-bindgen" }
613-
wit-bindgen-rust-macro = { git = "https://github.com/bytecodealliance/witx-bindgen" }
611+
# wit-bindgen = { git = "https://github.com/bytecodealliance/witx-bindgen" }
612+
# wit-bindgen-rt = { git = "https://github.com/bytecodealliance/witx-bindgen" }
613+
# wit-bindgen-rust-macro = { git = "https://github.com/bytecodealliance/witx-bindgen" }
614614

615615
# wasmparser = { path = '../wasm-tools/crates/wasmparser' }
616616
# wat = { path = '../wasm-tools/crates/wat' }
@@ -624,6 +624,6 @@ wit-bindgen-rust-macro = { git = "https://github.com/bytecodealliance/witx-bindg
624624
# wasm-wave = { path = '../wasm-tools/crates/wasm-wave' }
625625
# wasm-compose = { path = '../wasm-tools/crates/wasm-compose' }
626626
# wasm-metadata = { path = '../wasm-tools/crates/wasm-metadata' }
627-
# wit-bindgen = { path = '../wit-bindgen/crates/guest-rust' }
628-
# wit-bindgen-rt = { path = '../wit-bindgen/crates/guest-rust/rt' }
629-
# wit-bindgen-rust-macro = { path = '../wit-bindgen/crates/guest-rust/macro' }
627+
wit-bindgen = { path = '../wit-bindgen/crates/guest-rust' }
628+
wit-bindgen-rt = { path = '../wit-bindgen/crates/guest-rust/rt' }
629+
wit-bindgen-rust-macro = { path = '../wit-bindgen/crates/guest-rust/macro' }

crates/misc/component-async-tests/wit/deps/http/handler.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface handler {
1111
///
1212
/// When imported, this function may be used to either send an outgoing
1313
/// request over the network or pass it to another component.
14-
handle: func(
14+
handle: async func(
1515
request: request,
1616
) -> result<response, error-code>;
1717
}

0 commit comments

Comments
 (0)