update comment re: not using higher mir-opt-level
This commit is contained in:
parent
727e77844e
commit
9b4ceec60e
@ -66,9 +66,8 @@ fn compile_fail(path: &str, target: &str, opt: bool) {
|
|||||||
|
|
||||||
let mut flags = Vec::new();
|
let mut flags = Vec::new();
|
||||||
if opt {
|
if opt {
|
||||||
// Optimizing too aggressivley makes UB detection harder, but test at least
|
// FIXME: Opt level 2 ICEs during stack trace generation.
|
||||||
// the default value.
|
// See https://github.com/rust-lang/rust/issues/66077.
|
||||||
// FIXME: Opt level 3 ICEs during stack trace generation.
|
|
||||||
flags.push("-Zmir-opt-level=1".to_owned());
|
flags.push("-Zmir-opt-level=1".to_owned());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user