Skip to content

Commit c4df132

Browse files
Merge pull request #86 from CleverCloud/devel/fdubois/rust/profile
Set cargo profile options for release
2 parents ae9e039 + 06cad79 commit c4df132

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,8 @@ trace = [
8383
"opentelemetry",
8484
"opentelemetry-jaeger",
8585
]
86+
87+
[profile.release]
88+
lto = true
89+
opt-level = 'z'
90+
codegen-units = 1

0 commit comments

Comments
 (0)