Skip to content

Commit 20600f1

Browse files
committed
Force deprecation warning that was promoted to an error back to a warning
1 parent 6266e9d commit 20600f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function extended_sysroot_tests() {
116116
pushd regex
117117
echo "[TEST] rust-lang/regex example shootout-regex-dna"
118118
cargo clean
119+
export RUSTFLAGS="$RUSTFLAGS --cap-lints warn" # newer aho_corasick versions throw a deprecation warning
119120
# Make sure `[codegen mono items] start` doesn't poison the diff
120121
../build/cargo.sh build --example shootout-regex-dna --target $TARGET_TRIPLE
121122
if [[ "$HOST_TRIPLE" = "$TARGET_TRIPLE" ]]; then

0 commit comments

Comments
 (0)