about summary refs log tree commit diff
diff options
context:
space:
mode:
authory21 <30553356+y21@users.noreply.github.com>2024-09-17 21:38:37 +0200
committery21 <30553356+y21@users.noreply.github.com>2024-09-18 15:19:28 +0200
commit431f7d6709908618b3c9291b7ef5317660bb9919 (patch)
tree7403a0b2a25e763eb29484bd98c6c143bcf76890
parent903293b19936422e2d17a7a92e460e7874630443 (diff)
downloadrust-431f7d6709908618b3c9291b7ef5317660bb9919.tar.gz
rust-431f7d6709908618b3c9291b7ef5317660bb9919.zip
build quine-mc_cluskey with O3 in dev builds
-rw-r--r--Cargo.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cf810798d8c..ddc27179ef2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -67,3 +67,10 @@ harness = false
 [[test]]
 name = "dogfood"
 harness = false
+
+# quine-mc_cluskey makes up a significant part of the runtime in dogfood
+# due to the number of conditions in the clippy_lints crate
+# and enabling optimizations for that specific dependency helps a bit
+# without increasing total build times.
+[profile.dev.package.quine-mc_cluskey]
+opt-level = 3