]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_cranelift/scripts/tests.sh
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
[rust.git] / compiler / rustc_codegen_cranelift / scripts / tests.sh
index 3afcea8f06bd6c257b6ec97077d17ee7496ed565..0d99d2c507c95af6819f7b8decfeb0dfbcc7bf4e 100755 (executable)
@@ -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