Skip to content

Commit

Permalink
Revert "Change release build flags to optimize for size (denoland#6907)…
Browse files Browse the repository at this point in the history
…" (denoland#6980)

The non-default build (codegen) flags are applied only when building the
binary, however they are not used when building the tests. This makes
cargo recompile all crate dependencies and effectively doubles the time
to build and test in release mode.

Additionally when we were "watching" the benchmarks, this was likely a
meaningless activity as they too could have been built without these
alternative flags.

This reverts commit b7942bf.
  • Loading branch information
piscisaureus committed Aug 8, 2020
1 parent 59ca66a commit 3ab7267
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@ members = [
exclude = [
"std/hash/_wasm"
]


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

0 comments on commit 3ab7267

Please sign in to comment.