Skip to content

Commit

Permalink
Use strip = true For Release Profile in Cargo.toml
Browse files Browse the repository at this point in the history
Co-authored-by: Saverio Miroddi <saverio.pub2@gmail.com>
  • Loading branch information
zicklag and 64kramsystem committed Jul 13, 2022
1 parent 289d83a commit 526579b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ debug = false
opt-level = 1

[profile.release]
strip = true
lto = true
codegen-units = 1 # Improves physics performance for release builds

Expand Down
1 change: 0 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ build:

build-release:
cargo build --release
strip target/release/punchy

build-web:
cargo build --target wasm32-unknown-unknown
Expand Down

0 comments on commit 526579b

Please sign in to comment.