Force deprecation warning that was promoted to an error back to a warning

This commit is contained in:
bjorn3 2021-05-04 14:16:59 +02:00
parent 6266e9d907
commit 20600f1df9

View file

@ -116,6 +116,7 @@ function extended_sysroot_tests() {
pushd regex
echo "[TEST] rust-lang/regex example shootout-regex-dna"
cargo clean
export RUSTFLAGS="$RUSTFLAGS --cap-lints warn" # newer aho_corasick versions throw a deprecation warning
# Make sure `[codegen mono items] start` doesn't poison the diff
../build/cargo.sh build --example shootout-regex-dna --target $TARGET_TRIPLE
if [[ "$HOST_TRIPLE" = "$TARGET_TRIPLE" ]]; then