Skip to content

Commit

Permalink
feat: optimize android/ios release binaries for size
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Dec 18, 2024
1 parent ba1c5e1 commit 3eb0efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dotlottie-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ build = "build.rs"

[profile.release]
lto = true
opt-level = "z"
strip = true
codegen-units = 1

[lib]
crate-type = ["staticlib", "cdylib", "rlib"]
Expand Down

0 comments on commit 3eb0efc

Please sign in to comment.