Skip to content

Commit

Permalink
Merge pull request #1211 from zamazan4ik/patch-1
Browse files Browse the repository at this point in the history
Enable LTO and codegen-units = 1 optimization
  • Loading branch information
sagiegurari authored Jan 18, 2025
2 parents 3f943c2 + 861e534 commit 6df7ae9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ tls-rustls = ["duckscriptsdk/tls-rustls"]
tls-native = ["duckscriptsdk/tls-native"]
tls = ["tls-rustls"] # alias for backward compatibility
default = ["tls-rustls"]

[profile.release]
codegen-units = 1
lto = true

0 comments on commit 6df7ae9

Please sign in to comment.