Skip to content

Commit c0b1d74

Browse files
authored
Merge pull request #63 from oech3/patch-1
Cargo.toml: Move codegen-units to release
2 parents 2717766 + 8a9e9a2 commit c0b1d74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,17 @@ required-features = ["uudoc"]
101101
# release profile), the debug info and the stack traces will still be available.
102102
[profile.release]
103103
lto = true
104+
codegen-units = 1
104105

105106
# A release-like profile that is tuned to be fast, even when being fast
106107
# compromises on binary size. This includes aborting on panic.
107108
[profile.release-fast]
108109
inherits = "release"
109110
panic = "abort"
110-
codegen-units = 1
111111

112112
# A release-like profile that is as small as possible.
113113
[profile.release-small]
114114
inherits = "release"
115115
opt-level = "z"
116116
panic = "abort"
117-
codegen-units = 1
118117
strip = true

0 commit comments

Comments
 (0)