Skip to content

Commit 1cda810

Browse files
committed
Auto merge of #42123 - Mark-Simulacrum:revert-41967, r=alexcrichton
Revert "Reenable opt-level 3" This reverts commit 30383b2, from #41967. We believe that this is causing the failures when compiling rustc on 64 bit (which are probably segfaults). cc @ishitatsuyuki
2 parents 272e77f + 409d40f commit 1cda810

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ members = [
1818
"tools/rls",
1919
]
2020

21+
# Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
22+
# MSVC when running the compile-fail test suite when a should-fail test panics.
23+
# But hey if this is removed and it gets past the bots, sounds good to me.
24+
[profile.release]
25+
opt-level = 2
26+
[profile.bench]
27+
opt-level = 2
28+
2129
# These options are controlled from our rustc wrapper script, so turn them off
2230
# here and have them controlled elsewhere.
2331
[profile.dev]

0 commit comments

Comments
 (0)