Skip to content

Commit 6b0670e

Browse files
use 1 cgu
1 parent 03e7e9e commit 6b0670e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ overflow-checks = false
102102
# For the same reason, we also use opt-level=s to save binary size, at a small
103103
# performance cost.
104104
[profile.release.package]
105-
addr2line = { debug = 0, opt-level = 's' }
106-
adler = { debug = 0, opt-level = 's' }
107-
gimli = { debug = 0, opt-level = 's' }
108-
miniz_oxide = { debug = 0, opt-level = 's' }
109-
object = { debug = 0, opt-level = 's' }
110-
rustc-demangle = { debug = 0, opt-level = 's' }
105+
addr2line = { debug = 0, opt-level = 's', codegen-units = 1 }
106+
adler = { debug = 0, opt-level = 's', codegen-units = 1 }
107+
gimli = { debug = 0, opt-level = 's', codegen-units = 1 }
108+
miniz_oxide = { debug = 0, opt-level = 's', codegen-units = 1 }
109+
object = { debug = 0, opt-level = 's', codegen-units = 1 }
110+
rustc-demangle = { debug = 0, opt-level = 's', codegen-units = 1 }
111111

112112
# These are very thin wrappers around executing lld with the right binary name.
113113
# Basically nothing within them can go wrong without having been explicitly logged anyway.

0 commit comments

Comments
 (0)