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.
This commit is contained in:
bjorn3 2022-04-30 14:09:03 +02:00
parent 882c3900db
commit f449c0d175

View File

@ -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