Skip to content

Commit

Permalink
feat: enable LTO and codegen-units optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
zamazan4ik authored Jan 2, 2025
1 parent 53dd127 commit 861e534
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 861e534

Please sign in to comment.