Skip to content

Commit 409d40f

Browse files
Revert "Reenable opt-level 3"
This reverts commit 30383b2.
1 parent a0da1e0 commit 409d40f

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)