diff options
| author | kennytm <kennytm@gmail.com> | 2018-07-14 23:04:33 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-07-14 23:19:55 +0800 |
| commit | d332fc38f3f4f7910f505aff45f4742fd565dcca (patch) | |
| tree | bb678bafd67193a6767e0b656776d6addb21bae3 | |
| parent | 1731f0af22af16c461b2b7abe58988b8549b2de6 (diff) | |
| download | rust-d332fc38f3f4f7910f505aff45f4742fd565dcca.tar.gz rust-d332fc38f3f4f7910f505aff45f4742fd565dcca.zip | |
Revert "Auto merge of #52212 - kennytm:o3-again, r=alexcrichton"
This reverts commit 1731f0af22af16c461b2b7abe58988b8549b2de6, reversing changes made to 0a8275f8b677304458c6161e26436dfe67ab766b.
| -rw-r--r-- | src/Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Cargo.toml b/src/Cargo.toml index be4db9d3e2a..5ae26fea2d1 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -40,6 +40,13 @@ members = [ "tools/rls/test_data/workspace_symbol", ] +# Curiously, LLVM 7.0 will segfault if compiled with opt-level=3 +# See issue https://github.com/rust-lang/rust/issues/52378 +[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] |
