about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-03-26 12:56:35 +0200
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-03-26 12:56:35 +0200
commit65b5210bdbb3a7af57e5c39d41424ba260ee3fbc (patch)
tree7cd8d27b036071df44ae0c903980ecf63087275f
parent8dcb4d5ef745dcbe62c77f25415c21fcbe9f165c (diff)
downloadrust-65b5210bdbb3a7af57e5c39d41424ba260ee3fbc.tar.gz
rust-65b5210bdbb3a7af57e5c39d41424ba260ee3fbc.zip
Skip building wasm-bindgen-test on non-wasm targets
This reduces compilation time
-rw-r--r--crates/core_simd/Cargo.toml8
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/core_simd/Cargo.toml b/crates/core_simd/Cargo.toml
index 7435e24edd3..d1a3a515a7e 100644
--- a/crates/core_simd/Cargo.toml
+++ b/crates/core_simd/Cargo.toml
@@ -15,11 +15,9 @@ std = []
 generic_const_exprs = []
 all_lane_counts = []
 
-[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
-version = "0.2"
-
-[dev-dependencies.wasm-bindgen-test]
-version = "0.3"
+[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
+wasm-bindgen = "0.2"
+wasm-bindgen-test = "0.3"
 
 [dev-dependencies.proptest]
 version = "0.10"