Skip to content

Commit 9b24a52

Browse files
committed
Fix wasm32 build job
1 parent cd8220e commit 9b24a52

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ case ${TARGET} in
8080

8181
esac
8282

83-
if [ "$NORUN" != "1" ] && [ "$NOSTD" != 1 ]; then
83+
if [ "$NORUN" != "1" ] && [ "$NOSTD" != 1 ] && [ "$TARGET" != "wasm32-unknown-unknown" ]; then
8484
# Test examples
8585
(
8686
cd examples

crates/core_arch/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,5 @@ std_detect = { version = "0.*", path = "../std_detect" }
3030
[target.wasm32-unknown-unknown.dev-dependencies]
3131
wasm-bindgen-test = "=0.2.19"
3232

33-
[features]
34-
# Internal-usage only: denies all warnings.
35-
strict = []
36-
3733
[package.metadata.docs.rs]
3834
rustdoc-args = [ "--cfg", "dox" ]

crates/std_detect/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
)]
2121
#![cfg_attr(target_os = "linux", feature(linkage))]
2222
#![cfg_attr(all(target_os = "freebsd", target_arch = "aarch64"), feature(asm))]
23+
#![cfg_attr(stdsimd_strict, deny(warnings))]
24+
#![cfg_attr(test, allow(unused_imports))]
2325
#![no_std]
2426

2527
#[macro_use]

0 commit comments

Comments
 (0)