From f70d51039cf8a85aa32b8d1b6396d8f2a91329ad Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 25 Nov 2026 01:55:58 +0000 Subject: [PATCH] Keep design-lint at the CI default opt-level: the 10 s it saves does not pay for a cold cache --- .config/cargo-ci.toml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.config/cargo-ci.toml b/.config/cargo-ci.toml index 7436690d9..956491323 100644 --- a/.config/cargo-ci.toml +++ b/.config/cargo-ci.toml @@ -1,6 +1,8 @@ # The Workspace gate's additions to .config/cargo-dev.toml (scripts/ci-workspace-tests.sh passes both). The gate runs # every test of these crates, and their tests spend nearly all their time in sample and pixel loops, which run several -# times faster at opt-level 1; locally they stay at 0, so an edit to them rebuilds fast. +# times faster at opt-level 1; locally they stay at 0, so an edit to them rebuilds fast. craft-pdf (R6 hash and AES-CBC +# loops), craft-pkcs7 and craft-odf (PBKDF2 rounds, monomorphised in the crate) and craft-cms (CLUT builds) run their +# own hot loops in tests, so they take part too. [profile.dev.package.craft-audio-dsp] opt-level = 1 @@ -16,6 +18,14 @@ opt-level = 1 [profile.dev.package.craft-imaging] opt-level = 1 -# The workspace lint test parses every source file with syn; at opt-level 0 that takes 44 s. -[profile.dev.package.craft-design-lint] -opt-level = 2 +[profile.dev.package.craft-pdf] +opt-level = 1 + +[profile.dev.package.craft-pkcs7] +opt-level = 1 + +[profile.dev.package.craft-odf] +opt-level = 1 + +[profile.dev.package.craft-cms] +opt-level = 1