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:
parent
8f70dce0f9
commit
fd7a45f7f6
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue