Skip to content

Commit

Permalink
Merge pull request #94 from perlindgren/fix/lto
Browse files Browse the repository at this point in the history
enable LTO, fixes components being incorrectly optimized out
  • Loading branch information
onsdagens authored Oct 14, 2024
2 parents da35dbf + 1a9803b commit 23f20da
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 @@ -54,6 +54,7 @@ debug = 1 # faster build, still allows for stack back trace
opt-level = 3

[profile.release]
lto = true # equivalent to fat
incremental = true
debug = 1 # faster build, still allows for stack back trace

Expand Down

0 comments on commit 23f20da

Please sign in to comment.