Skip to content

Commit cf530b7

Browse files
authored
Merge pull request #421 from oech3/codegen1
Cargo.toml: Use codegen-units at 2 profiles
2 parents 31f6791 + ca759fc commit cf530b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ lto = true
160160
[profile.release-fast]
161161
inherits = "release"
162162
panic = "abort"
163+
codegen-units = 1
163164

164165
# A release-like profile that is as small as possible.
165166
[profile.release-small]
166-
inherits = "release"
167+
inherits = "release-fast"
167168
opt-level = "z"
168-
panic = "abort"
169169
strip = true

0 commit comments

Comments
 (0)