Skip to content

Commit 431f7d6

Browse files
committed
build quine-mc_cluskey with O3 in dev builds
1 parent 903293b commit 431f7d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,10 @@ harness = false
6767
[[test]]
6868
name = "dogfood"
6969
harness = false
70+
71+
# quine-mc_cluskey makes up a significant part of the runtime in dogfood
72+
# due to the number of conditions in the clippy_lints crate
73+
# and enabling optimizations for that specific dependency helps a bit
74+
# without increasing total build times.
75+
[profile.dev.package.quine-mc_cluskey]
76+
opt-level = 3

0 commit comments

Comments
 (0)