diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-05-20 10:33:53 -0600 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-05-20 10:33:53 -0600 |
| commit | 409d40f8af3fc458352237d1527fcf2791806ab2 (patch) | |
| tree | c877c1fcdef0cbded445312527528593a6e59390 /src | |
| parent | a0da1e0653e7a927dbf80f979306a7f31bc595b8 (diff) | |
| download | rust-409d40f8af3fc458352237d1527fcf2791806ab2.tar.gz rust-409d40f8af3fc458352237d1527fcf2791806ab2.zip | |
Revert "Reenable opt-level 3"
This reverts commit 30383b2384864173b9238a121f8e83f8968f1e51.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Cargo.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Cargo.toml b/src/Cargo.toml index 023627fda99..85a6df3573a 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -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] |
