Skip to content

Commit 867955d

Browse files
authored
fix(async): rust-rt async depends on std (#1381)
presumably after #1369, the following build feature combo fails to build: ```bash cargo build -p wit-bindgen --no-default-features --features async ```
1 parent 7be5607 commit 867955d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/guest-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ default = ["macros", "realloc", "async", "std", "bitflags"]
3030
macros = ["dep:wit-bindgen-rust-macro"]
3131
realloc = []
3232
std = []
33-
async = ["macros", "dep:futures", "dep:once_cell", "wit-bindgen-rust-macro/async"]
33+
async = ["macros", "std", "dep:futures", "dep:once_cell", "wit-bindgen-rust-macro/async"]
3434
bitflags = ["dep:bitflags"]
3535

3636
# Unstable feature to support being a libstd dependency

0 commit comments

Comments
 (0)