Use cfg(target_family = "wasm") in Cargo.toml

This commit is contained in:
Taiki Endo 2024-01-07 03:22:40 +09:00
parent 0493551beb
commit 6581d8b655
1 changed files with 1 additions and 1 deletions

View File

@ -29,5 +29,5 @@ fastrand = "2.0.0"
futures-lite = "2.0.0"
waker-fn = "1.1.0"
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dev-dependencies]
[target.'cfg(target_family = "wasm")'.dev-dependencies]
wasm-bindgen-test = "0.3"