Skip to content

Commit

Permalink
change opt-level 2 to 3 in bootstrap rustflags
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Feb 14, 2018
1 parent 4d2d3fc commit 07033a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ members = [
"tools/rls/test_data/workspace_symbol",
]

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

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

0 comments on commit 07033a4

Please sign in to comment.