Skip to content

Commit

Permalink
feat(wasm): release profile minification
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend committed Jun 2, 2024
1 parent bad4232 commit 15abddf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wit2wadm-cli"
version = "0.2.0"
version = "0.2.1"
edition = "2021"

[workspace]
Expand Down Expand Up @@ -31,3 +31,9 @@ wit-component = { workspace = true }
wit-parser = { workspace = true }
wit-bindgen = { workspace = true }
wit2wadm = { path = "./crates/wit2wadm", features = ["cli"] }

[profile.release]
# Optimize for small code size
lto = true
opt-level = "s"
strip = true

0 comments on commit 15abddf

Please sign in to comment.