Skip to content

Commit

Permalink
feat: minimize binary artifact size
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 16, 2024
1 parent 8d9c7f5 commit ae3f501
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ edition.workspace = true
license.workspace = true
repository.workspace = true

[profile.release.package.west-passthrough]
opt-level = 's'
strip = true

[profile.release.package.west-sys]
opt-level = 's'
strip = true

[profile.release]
lto = true

[workspace]
members = ["crates/*", "tests/components/*"]

Expand Down

0 comments on commit ae3f501

Please sign in to comment.