Skip to content

Commit acaa2f0

Browse files
committed
Don't check for references to panics with debug assertions
1 parent 4859aba commit acaa2f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/run.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ case $1 in
125125
esac
126126

127127
# Verify that we haven't drop any intrinsic/symbol
128-
$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
128+
RUSTFLAGS="-C debug-assertions=no" \
129+
$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
129130

130131
# Verify that there are no undefined symbols to `panic` within our
131132
# implementations

src/arm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[cfg(not(feature = "gen-tests"))]
12
use core::intrinsics;
23

34
#[cfg(feature = "mem")]

0 commit comments

Comments
 (0)