Skip to content

Commit

Permalink
feat: optimize android/ios release binaries for size (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf authored Dec 24, 2024
1 parent ba1c5e1 commit 5fffbe6
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 5fffbe6

Please sign in to comment.