deno/deno-disable-lto.patch
Soc Virnyl Estela 6e70c0c20d - Update to version 2.0.4:
* fix: support watch flag to enable watching other files than the main module on serve subcommand
  * Revert "fix(ext/node): fix dns.lookup result ordering"
  * fix(ext/napi): export dynamic symbols list for {Free,Open}BSD
  * fix(ext/node): compatibility with {Free,Open}BSD
  * refactor(init): inline routing in deno init --serve template
  * Revert "fix(ext/node): use primordials in `ext/node/polyfills/https.ts`"
  * fix: provide hints in terminal errors for Node.js globals
  * fix(check): expose more globals from @types/node
  * fix: report exceptions from nextTick
  * fix(compile): regression handling redirects
  * fix(npm): match npm bearer token generation
  * fix: do not panic when failing to write to http cache
  * fix(ext/node): add path to `fs.stat` and `fs.statSync` error
  * fix(watch): don't panic on invalid file specifiers
  * docs(readme): Add winget instructions
  * fix(cli): Make --watcher CLEAR_SCREEN clear scrollback buffer as well as visible screen
  * fix(ext/node): use primordials in ext\node\polyfills\internal\crypto\_randomInt.ts
  * perf: pass transpiled module to deno_core as known string
  * fix(lsp): make missing import action fix infallible
  * fix(install): cache json exports of JSR packages
  * fix(upgrade): stop running `deno lsp` processes on windows before attempting to replace executable
  * fix(check): ignore resolving `jsxImportSource` when jsx is not used in graph
  * fix(install): regression - do not panic when config file contains \r\n newlines
  * feat(lsp): "typescript.preferences.preferTypeOnlyAutoImports" setting

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=219
2024-10-31 17:05:30 +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]