Skip to content

Commit

Permalink
Release build does thin lto (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Oct 28, 2024
1 parent bdfcbd6 commit 4a378d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ use_debug = "deny"

[profile.release]
codegen-units = 1
lto = true # attempts to perform optimizations across all crates within the dependency graph
lto = "thin" # attempts to perform optimizations across all crates within the dependency graph

[profile.bench]
codegen-units = 16 # default for "release", which "bench" inherits
Expand Down

0 comments on commit 4a378d2

Please sign in to comment.