Skip to content

Commit

Permalink
Change release build flags to optimize for size (denoland#6907)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 28, 2020
1 parent 076547f commit b7942bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ members = [
exclude = [
"std/hash/_wasm"
]


[profile.release]
codegen-units = 1
lto = true
opt-level = 'z' # Optimize for size

0 comments on commit b7942bf

Please sign in to comment.