diff options
| -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] |
