Skip to content

Commit 25ff830

Browse files
committed
Auto merge of #52212 - kennytm:o3-again, r=<try>
Set opt-level = 3 the third time. This PR reverts #51165 (set -O2 to fix #50867), which reverted #50329 (set -O3), which was second attempt of #48204 (set -O3, closed due to Windows segfault that is fixed now), which reverted #42123 (set -O2 to fix spurious Windows segfaults), which reverted #41967 (set -O3). Last time we've found that setting -O3 regressed the wall time of NLL (#50329 (comment)), so we may need another perf run to confirm. I'd like to check this *after* the LLVM 7 upgrade #51966 has been merged, so marking this as <kbd>S-blocked</kbd> for now.
2 parents ae5b629 + e12b1b6 commit 25ff830

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Cargo.toml

-7
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ members = [
4040
"tools/rls/test_data/workspace_symbol",
4141
]
4242

43-
# Curiously, libtest will segfault if compiled with opt-level=3
44-
# with some versions of XCode: https://github.com/rust-lang/rust/issues/50867
45-
[profile.release]
46-
opt-level = 2
47-
[profile.bench]
48-
opt-level = 2
49-
5043
# These options are controlled from our rustc wrapper script, so turn them off
5144
# here and have them controlled elsewhere.
5245
[profile.dev]

0 commit comments

Comments
 (0)