Skip to content

Commit

Permalink
[Build] Specify codegen-units = 1
Browse files Browse the repository at this point in the history
Reduces the binary size by 9.3% without any measurable change to the
build time.

Part of P0268, funded by Ember2528.
  • Loading branch information
nmlgc committed Feb 29, 2024
1 parent a4d0bb4 commit 1c4af56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ textwrap = { version = "0.16.0", features = ["terminal_size"], default-features
lto = true
strip = true
panic = "abort"
codegen-units = 1

0 comments on commit 1c4af56

Please sign in to comment.