Skip to content

Commit d332fc3

Browse files
committed
Revert "Auto merge of #52212 - kennytm:o3-again, r=alexcrichton"
This reverts commit 1731f0a, reversing changes made to 0a8275f.
1 parent 1731f0a commit d332fc3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Cargo.toml

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

43+
# Curiously, LLVM 7.0 will segfault if compiled with opt-level=3
44+
# See issue https://github.com/rust-lang/rust/issues/52378
45+
[profile.release]
46+
opt-level = 2
47+
[profile.bench]
48+
opt-level = 2
49+
4350
# These options are controlled from our rustc wrapper script, so turn them off
4451
# here and have them controlled elsewhere.
4552
[profile.dev]

0 commit comments

Comments
 (0)