4f818d498b
This updates the dynamic module compile to emit an extra mjs file containing JS-defined functions and values (i.e. Strings). The runtime then loads this JS module along with the wasm module and links the two. Change-Id: Iedddf378822f3abd957f0ca9016a9f7883854973 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/422341 Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>