mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Change release build flags to optimize for size (#6907)
This commit is contained in:
parent
076547fbbb
commit
b7942bf0f6
1 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,9 @@ members = [
|
||||||
exclude = [
|
exclude = [
|
||||||
"std/hash/_wasm"
|
"std/hash/_wasm"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
lto = true
|
||||||
|
opt-level = 'z' # Optimize for size
|
||||||
|
|
Loading…
Reference in a new issue