Skip to content

Commit

Permalink
Release profile compilation settings updated for checksec compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
extiop committed Dec 17, 2024
1 parent 59d00f7 commit 1cef91d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ members = [
]

[profile.release]
codegen-units = 1
opt-level = 'z' # Optimize for size.
codegen-units = 1 # Use minimum codegen units for best size and runtime performances
opt-level = 'z' # Size optimization
lto = true # Enable Link Time Optimization
strip = true # Removes symbols, reducing size

0 comments on commit 1cef91d

Please sign in to comment.