Skip to content

Commit 65b5210

Browse files
committed
Skip building wasm-bindgen-test on non-wasm targets
This reduces compilation time
1 parent 8dcb4d5 commit 65b5210

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/core_simd/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ std = []
1515
generic_const_exprs = []
1616
all_lane_counts = []
1717

18-
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
19-
version = "0.2"
20-
21-
[dev-dependencies.wasm-bindgen-test]
22-
version = "0.3"
18+
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
19+
wasm-bindgen = "0.2"
20+
wasm-bindgen-test = "0.3"
2321

2422
[dev-dependencies.proptest]
2523
version = "0.10"

0 commit comments

Comments
 (0)