Skip to content

Commit 3a6b706

Browse files
committed
Cargo.toml: move codegen-units to release profile
1 parent 8983b90 commit 3a6b706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,13 +592,13 @@ required-features = ["uudoc"]
592592
# the stack traces will still be available.
593593
[profile.release]
594594
lto = true
595+
codegen-units = 1
595596

596597
# A release-like profile that is tuned to be fast, even when being fast
597598
# compromises on binary size. This includes aborting on panic.
598599
[profile.release-fast]
599600
inherits = "release"
600601
panic = "abort"
601-
codegen-units = 1
602602

603603
# A release-like profile that is as small as possible.
604604
[profile.release-small]

0 commit comments

Comments
 (0)