Skip to content

Commit

Permalink
ffi: add .cargo/config.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Nov 18, 2024
1 parent 7b80c0f commit f14215f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/nostr-sdk-ffi/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = "debuginfo" # Partially strip symbols from binary

0 comments on commit f14215f

Please sign in to comment.