Don't check for references to panics with debug assertions

This commit is contained in:
Alex Crichton 2017-06-24 11:43:57 -07:00
parent 4859aba5f4
commit acaa2f071a
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,4 @@
#[cfg(not(feature = "gen-tests"))]
use core::intrinsics; use core::intrinsics;
#[cfg(feature = "mem")] #[cfg(feature = "mem")]