Don't check for references to panics with debug assertions
This commit is contained in:
parent
4859aba5f4
commit
acaa2f071a
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
#[cfg(not(feature = "gen-tests"))]
|
||||
use core::intrinsics;
|
||||
|
||||
#[cfg(feature = "mem")]
|
||||
|
Loading…
Reference in New Issue
Block a user