Skip to content

Commit a8a5fda

Browse files
authored
fix wasm32v1-none compiling with --no-default-features (#21076)
# Objective Fixes #21006 ## Solution disable default features for wasm32 arch dependency on `async-channel`
1 parent 166e913 commit a8a5fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_tasks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ crossbeam-queue = { version = "0.3", default-features = false, features = [
5555

5656
[target.'cfg(target_arch = "wasm32")'.dependencies]
5757
pin-project = "1"
58-
async-channel = "2.3.0"
58+
async-channel = { version = "2.3.0", default-features = false }
5959

6060
[target.'cfg(not(all(target_has_atomic = "8", target_has_atomic = "16", target_has_atomic = "32", target_has_atomic = "64", target_has_atomic = "ptr")))'.dependencies]
6161
async-task = { version = "4.4.0", default-features = false, features = [

0 commit comments

Comments
 (0)