diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 13:01:38 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 13:01:38 +0100 |
| commit | f97670a315babcd525f332dc1c2ed259a1ff32a4 (patch) | |
| tree | 356e900847dfc86434269e024da89f75e01388c5 | |
| parent | f6d0e14b7925f6eb0cedaf1df5fd83a3400d4683 (diff) | |
| download | rust-f97670a315babcd525f332dc1c2ed259a1ff32a4.tar.gz rust-f97670a315babcd525f332dc1c2ed259a1ff32a4.zip | |
Don't enable optimizations in the dev profile
I rarely use the dev profile anyway.
| -rw-r--r-- | Cargo.toml | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Cargo.toml b/Cargo.toml index 900411286b5..7d23b60d948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,31 +40,15 @@ unstable-features = ["jit", "inline_asm"] jit = ["cranelift-jit", "libloading"] inline_asm = [] -[profile.dev] -# By compiling dependencies with optimizations, performing tests gets much faster. -opt-level = 3 - -[profile.dev.package.rustc_codegen_cranelift] -# Disabling optimizations for cg_clif itself makes compilation after a change faster. -opt-level = 0 - [profile.release.package.rustc_codegen_cranelift] incremental = true # Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the # execution time of build scripts is so fast that optimizing them slows down the total build time. -[profile.dev.build-override] -opt-level = 0 -debug = false - [profile.release.build-override] opt-level = 0 debug = false -[profile.dev.package.cranelift-codegen-meta] -opt-level = 0 -debug = false - [profile.release.package.cranelift-codegen-meta] opt-level = 0 debug = false |
