Skip to content

Commit

Permalink
Merge pull request #3 from carlopi/lto_and_strip
Browse files Browse the repository at this point in the history
Enable LTO and strip symbols in release
  • Loading branch information
samansmink authored Nov 18, 2024
2 parents d88553b + 2baf442 commit 44c6fee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ edition = "2021"
[lib]
crate-type = ["cdylib"]

[profile.release]
lto = true
strip = true

[[example]]
# crate-type can't be (at the moment) be overriden for specific targets
# src/wasm_lib.rs forwards to src/lib.rs so that we can change from cdylib
Expand Down

0 comments on commit 44c6fee

Please sign in to comment.