Files
sdk/pkg/wasm_builder
Nate Biggs 909786e1b9 [dart2wasm] Update optimized modules source map URLs.
Prior to recent changes that moved wasm-opt into a phase of dart2wasm, the optimized module always had the same filename as the unoptimized one. So even though wasm-opt was not updating the source map URL in the module, the URL was still correct.

However, now we can specify a new name when we run wasm-opt on its own. So we need wasm-opt to update the URL in the module.

We always pass this flag but when the names match wasm-opt will just update the URL to the same value.

Change-Id: I1e59a6189cd537b1e614431ba1ef7bc5e70cb088
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471380
Commit-Queue: Nate Biggs <natebiggs@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2026-01-12 05:09:16 -08:00
..