]> git.lizzy.rs Git - rust.git/blobdiff - ci.sh
resolve semantic conflicts
[rust.git] / ci.sh
diff --git a/ci.sh b/ci.sh
index 8b0280b25787e2c8fbbce25e0a00d45634c86ee1..a86c5ca490a40fa06cad32df515f257a132ffdd9 100755 (executable)
--- a/ci.sh
+++ b/ci.sh
@@ -22,8 +22,9 @@ function run_tests {
 
   ./miri test --locked
   if [ -z "${MIRI_TEST_TARGET+exists}" ]; then
-    # Only for host architecture: tests with MIR optimizations
-    MIRIFLAGS="-Z mir-opt-level=3" ./miri test --locked
+    # Only for host architecture: tests with optimizations (`-O` is what cargo passes, but crank MIR
+    # optimizations up all the way).
+    MIRIFLAGS="-O -Zmir-opt-level=4" ./miri test --locked
   fi
 
   # On Windows, there is always "python", not "python3" or "python2".