deno/deno-disable-lto.patch
2024-10-11 15:35:08 +00:00

19 lines
550 B
Diff

--- deno-2.0.0/Cargo.toml.orig 2024-10-11 10:48:05.784147338 +0200
+++ deno-2.0.0/Cargo.toml 2024-10-11 10:48:41.196337140 +0200
@@ -231,7 +231,6 @@ winres = "=0.1.12"
[profile.release]
codegen-units = 1
incremental = true
-lto = true
opt-level = 'z' # Optimize for size
# Build release with debug symbols: cargo build --profile=release-with-debug
@@ -243,7 +242,6 @@ debug = true
[profile.release-lite]
inherits = "release"
codegen-units = 128
-lto = "thin"
# Key generation is too slow on `debug`
[profile.dev.package.num-bigint-dig]