diff --git a/ci/run.sh b/ci/run.sh index bda4415..008d9ca 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -125,7 +125,8 @@ case $1 in esac # Verify that we haven't drop any intrinsic/symbol -$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics +RUSTFLAGS="-C debug-assertions=no" \ + $cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics # Verify that there are no undefined symbols to `panic` within our # implementations diff --git a/src/arm.rs b/src/arm.rs index 8d5808c..1e234b7 100644 --- a/src/arm.rs +++ b/src/arm.rs @@ -1,3 +1,4 @@ +#[cfg(not(feature = "gen-tests"))] use core::intrinsics; #[cfg(feature = "mem")]