Skip to content

Commit

Permalink
wasm32-browser testing: Enable wasm32-bindgen-test's "std" feature.
Browse files Browse the repository at this point in the history
The build is failing without "std".
  • Loading branch information
briansmith committed Dec 5, 2024
1 parent e6ec29c commit 5ff1763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ libc = { version = "0.2.155", default-features = false }
windows-sys = { version = "0.52", features = ["Win32_Foundation", "Win32_System_Threading"] }

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = { version = "0.3.37", default-features = false }
wasm-bindgen-test = { version = "0.3.37", default-features = false, features = ["std"] }

[target.'cfg(any(unix, windows, target_os = "wasi"))'.dev-dependencies]
libc = { version = "0.2.148", default-features = false }
Expand Down

0 comments on commit 5ff1763

Please sign in to comment.