deno/deno-disbale-lto.patch

18 lines
519 B
Diff
Raw Normal View History

--- deno-1.26.2/Cargo.toml.orig 2023-01-26 10:13:11.259679321 +0100
+++ deno-1.26.2/Cargo.toml 2023-01-26 10:13:28.467861544 +0100
@@ -37,14 +37,12 @@ exclude = ["test_util/std/hash/_wasm"]
[profile.release]
codegen-units = 1
incremental = true
-lto = true
opt-level = 'z' # Optimize for size
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench]
codegen-units = 1
incremental = true
-lto = true
opt-level = 'z' # Optimize for size
# Key generation is too slow on `debug`