about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 3afcea8f06b..0d99d2c507c 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -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