Skip to content

Commit

Permalink
feat: enhance release profile to generate tiny library, add `release_…
Browse files Browse the repository at this point in the history
…nostrip` variant
  • Loading branch information
vhyrro committed Mar 4, 2023
1 parent e437c9f commit b0774ff
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Cargo.toml
Expand Up @@ -13,3 +13,18 @@ walkdir = "2.3.2"

[build-dependencies]
cbindgen = "0.24.3"

[profile.release_nostrip]
inherits = "release"
opt-level = "s"
lto = "thin"
codegen-units = 1
debug = false
strip=false

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
debug = false
strip=true

0 comments on commit b0774ff

Please sign in to comment.