Skip to content

Commit 8b8a2fb

Browse files
committed
Rollup merge of rust-lang#48204 - matthiaskrgr:RUSTFLAGS_O2_to_O3, r=kennytm
change opt-level 2 to 3 in bootstrap rustflags Since llvm got updated, maybe this also resolved unexpected crashes. See discussion here: rust-lang@409d40f Is it possible to give this a test-run? //cc @Mark-Simulacrum
2 parents c7564a7 + 07033a4 commit 8b8a2fb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Cargo.toml

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

43-
# Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
44-
# MSVC when running the compile-fail test suite when a should-fail test panics.
45-
# But hey if this is removed and it gets past the bots, sounds good to me.
4643
[profile.release]
47-
opt-level = 2
44+
opt-level = 3
4845
[profile.bench]
49-
opt-level = 2
46+
opt-level = 3
5047

5148
# These options are controlled from our rustc wrapper script, so turn them off
5249
# here and have them controlled elsewhere.

0 commit comments

Comments
 (0)