emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.92k stars 3.32k forks source link

Convert instantiateAsync form callbacks to promises. NFC #23066

Closed sbc100 closed 3 hours ago

sbc100 commented 1 day ago

I'll hoping to follow up with a conversion to using await here.

The code size changes seem to be mostly a wash with some tests improving and others regressing by a few bytes.

sbc100 commented 1 day ago

Best viewed with "ignore whitespace"