Skip to content

Commit

Permalink
Auto merge of #42123 - Mark-Simulacrum:revert-41967, r=alexcrichton
Browse files Browse the repository at this point in the history
Revert "Reenable opt-level 3"

This reverts commit 30383b2, from #41967.

We believe that this is causing the failures when compiling rustc on 64 bit (which are probably segfaults).

cc @ishitatsuyuki
  • Loading branch information
bors committed May 20, 2017
2 parents 272e77f + 409d40f commit 1cda810
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Cargo.toml
Expand Up @@ -18,6 +18,14 @@ members = [
"tools/rls",
]

# 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
[profile.bench]
opt-level = 2

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

0 comments on commit 1cda810

Please sign in to comment.