Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f449c0d

Browse files
committed
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.
1 parent 882c390 commit f449c0d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,5 @@ unstable-features = ["jit", "inline_asm"]
4141
jit = ["cranelift-jit", "libloading"]
4242
inline_asm = []
4343

44-
# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
45-
# execution time of build scripts is so fast that optimizing them slows down the total build time.
46-
[profile.release.build-override]
47-
opt-level = 0
48-
debug = false
49-
50-
[profile.release.package.cranelift-codegen-meta]
51-
opt-level = 0
52-
debug = false
53-
5444
[package.metadata.rust-analyzer]
5545
rustc_private = true

0 commit comments

Comments
 (0)