From 409d40f8af3fc458352237d1527fcf2791806ab2 Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Sat, 20 May 2017 10:33:53 -0600 Subject: [PATCH] Revert "Reenable opt-level 3" This reverts commit 30383b2384864173b9238a121f8e83f8968f1e51. --- src/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Cargo.toml b/src/Cargo.toml index 023627fda9925..85a6df3573ae1 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]