1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Change release build flags to optimize for size (#6907)

This commit is contained in:
Ryan Dahl 2020-07-28 13:37:27 -04:00 committed by GitHub
parent 076547fbbb
commit b7942bf0f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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