Don't set codegen-units=1 by default in CI

We can set this only for the release profile, there isn't any reason to
have it set for debug tests.
This commit is contained in:
Trevor Gross 2025-01-13 22:57:38 +00:00
parent 8f70dce0f9
commit fd7a45f7f6

View file

@ -61,14 +61,15 @@ exclude = [
[dev-dependencies]
no-panic = "0.1.30"
# This is needed for no-panic to correctly detect the lack of panics
[profile.release]
# Options for no-panic to correctly detect the lack of panics
codegen-units = 1
lto = "fat"
# Release mode with debug assertions
[profile.release-checked]
inherits = "release"
codegen-units = 1
debug-assertions = true
inherits = "release"
lto = "fat"
overflow-checks = true