Skip to content

Commit 0322851

Browse files
authored
Don't enable macros feature with async (#1408)
That can stay turned off which can help slim down the dependency tree here.
1 parent b6537dc commit 0322851

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ jobs:
196196
- run: cargo build --target wasm32-wasip1 -p wit-bindgen --no-default-features --features macros,realloc
197197
- run: cargo build --target wasm32-wasip1 -p wit-bindgen --no-default-features --features async
198198
- run: cargo build --target wasm32-wasip1 -p wit-bindgen --no-default-features --features async-spawn
199+
- run: cargo build --target wasm32-wasip1 -p wit-bindgen --no-default-features --features async,macros
199200

200201
# Verity that documentation can be generated for the rust bindings crate.
201202
- run: rustup update nightly --no-self-update

crates/guest-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ default = ["macros", "realloc", "async", "std", "bitflags"]
2929
macros = ["dep:wit-bindgen-rust-macro"]
3030
realloc = []
3131
std = []
32-
async = ["macros", "std", "wit-bindgen-rust-macro/async"]
32+
async = ["std", "wit-bindgen-rust-macro?/async"]
3333
bitflags = ["dep:bitflags"]
3434
async-spawn = ['async', 'dep:futures']
3535

0 commit comments

Comments
 (0)