Skip to content

Commit f97670a

Browse files
committed
Don't enable optimizations in the dev profile
I rarely use the dev profile anyway.
1 parent f6d0e14 commit f97670a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Diff for: Cargo.toml

-16
Original file line numberDiff line numberDiff line change
@@ -40,31 +40,15 @@ unstable-features = ["jit", "inline_asm"]
4040
jit = ["cranelift-jit", "libloading"]
4141
inline_asm = []
4242

43-
[profile.dev]
44-
# By compiling dependencies with optimizations, performing tests gets much faster.
45-
opt-level = 3
46-
47-
[profile.dev.package.rustc_codegen_cranelift]
48-
# Disabling optimizations for cg_clif itself makes compilation after a change faster.
49-
opt-level = 0
50-
5143
[profile.release.package.rustc_codegen_cranelift]
5244
incremental = true
5345

5446
# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the
5547
# execution time of build scripts is so fast that optimizing them slows down the total build time.
56-
[profile.dev.build-override]
57-
opt-level = 0
58-
debug = false
59-
6048
[profile.release.build-override]
6149
opt-level = 0
6250
debug = false
6351

64-
[profile.dev.package.cranelift-codegen-meta]
65-
opt-level = 0
66-
debug = false
67-
6852
[profile.release.package.cranelift-codegen-meta]
6953
opt-level = 0
7054
debug = false

0 commit comments

Comments
 (0)