about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-04-30 14:09:03 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2022-04-30 14:09:03 +0200
commitf449c0d1756ad2b72240c1961d7d18fc11faba9b (patch)
tree6179f220e917b581cf5232240f856faff95829af
parent882c3900db9b65111272dc38d0df094e5b698639 (diff)
downloadrust-f449c0d1756ad2b72240c1961d7d18fc11faba9b.tar.gz
rust-f449c0d1756ad2b72240c1961d7d18fc11faba9b.zip
Remove profile overrides for build scripts and their dependencies
Cargo now disables optimizations for build scripts by default anyway, so
they aren't really useful anymore.
-rw-r--r--Cargo.toml10
1 files changed, 0 insertions, 10 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 74f50808a98..18d7f41cf40 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,15 +41,5 @@ unstable-features = ["jit", "inline_asm"]
 jit = ["cranelift-jit", "libloading"]
 inline_asm = []
 
-# 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.release.build-override]
-opt-level = 0
-debug = false
-
-[profile.release.package.cranelift-codegen-meta]
-opt-level = 0
-debug = false
-
 [package.metadata.rust-analyzer]
 rustc_private = true