Skip to content

Commit d43d9df

Browse files
natebiggsdart-scoped@luci-project-accounts.iam.gserviceaccount.com
authored andcommitted
[dart2wasm] Remove dynamic modules support from the dart2wasm compiler.
Change-Id: If92f55296dfe83b64165a2bd07eaefb7d137198c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497341 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>
1 parent c45dc16 commit d43d9df

63 files changed

Lines changed: 625 additions & 5679 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pkg/dart2wasm/bin/run_wasm.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,6 @@ const main = async () => {
420420
// A loadDeferredId reader function should be registered prior to accessing this.
421421
loadDeferredId: (id, handleWasmBytes) =>
422422
globalThis.loadDeferredId(id, readBytes, handleWasmBytes),
423-
loadDynamicModule: async (wasmUri, mjsUri, handleWasmBytes) => {
424-
return handleWasmBytes(
425-
await readBytes(wasmUri),
426-
await import(`${wasmDirectory}/${mjsUri}`)
427-
);
428-
}
429423
});
430424

431425
// Call `main`. If tasks are placed into the event loop (by scheduling tasks

0 commit comments

Comments
 (0)