mir-opt-level 4 is the new 3

This commit is contained in:
Oli Scherer 2021-03-09 14:50:38 +01:00 committed by GitHub
parent 413e341eb4
commit 38da1fab78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
ci.sh
View File

@ -24,7 +24,7 @@ function run_tests {
if [ -z "${MIRI_TEST_TARGET+exists}" ]; then
# 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=3" ./miri test --locked
MIRIFLAGS="-O -Zmir-opt-level=4" ./miri test --locked
fi
# On Windows, there is always "python", not "python3" or "python2".