Don't check for references to panics with debug assertions
This commit is contained in:
parent
4859aba5f4
commit
acaa2f071a
@ -125,6 +125,7 @@ case $1 in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Verify that we haven't drop any intrinsic/symbol
|
# Verify that we haven't drop any intrinsic/symbol
|
||||||
|
RUSTFLAGS="-C debug-assertions=no" \
|
||||||
$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
|
$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
|
||||||
|
|
||||||
# Verify that there are no undefined symbols to `panic` within our
|
# Verify that there are no undefined symbols to `panic` within our
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#[cfg(not(feature = "gen-tests"))]
|
||||||
use core::intrinsics;
|
use core::intrinsics;
|
||||||
|
|
||||||
#[cfg(feature = "mem")]
|
#[cfg(feature = "mem")]
|
||||||
|
Loading…
Reference in New Issue
Block a user