Skip to content

Commit

Permalink
use LTO in release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
samizdatco committed Aug 8, 2022
1 parent af6f8e5 commit 9f35d19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ exclude = ["index.node"]
[lib]
crate-type = ["cdylib"]

[profile.release]
lto = "fat"

[features]
metal = ["skia-safe/metal", "dep:metal", "dep:core-graphics-types", "dep:foreign-types", "dep:cocoa", "dep:objc"]
vulkan = ["skia-safe/vulkan", "dep:skulpin", "dep:ash"]
Expand Down

0 comments on commit 9f35d19

Please sign in to comment.