mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Drop -opt-bisect-limit=0 flag from test
This causes an assertion failure under NewPM, because it also ends up disabling the NameAnonGlobals pass. Instead pass -Copt-level=0 to disable optimizations. If that should be insufficient, we can use -C no-prepopulate-passes.
This commit is contained in:
parent
db140de8f2
commit
7c4989ab70
@ -6,16 +6,11 @@
|
||||
// Unfortunately, LLVM has no "disable" option for this, so we have to set
|
||||
// "enable" to 0 instead.
|
||||
|
||||
// compile-flags:-g -Cllvm-args=-enable-tail-merge=0 -Cllvm-args=-opt-bisect-limit=0
|
||||
// compile-flags:-g -Copt-level=0 -Cllvm-args=-enable-tail-merge=0
|
||||
// compile-flags:-Cforce-frame-pointers=yes
|
||||
// ignore-pretty issue #37195
|
||||
// ignore-emscripten spawning processes is not supported
|
||||
// ignore-sgx no processes
|
||||
// normalize-stderr-test ".*\n" -> ""
|
||||
|
||||
// Note that above `-opt-bisect-limit=0` is used to basically disable
|
||||
// optimizations. It creates tons of output on stderr, hence we normalize
|
||||
// that away entirely.
|
||||
|
||||
use std::env;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user