File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export default class JsExecutor {
130130 jsCode ,
131131 wasmCode ,
132132 ) ;
133- await exports . instantiate ( imports ) ;
133+ await exports . instantiate ( { "playground.master" : imports } ) ;
134134 const bufferedOutput = output ?? exports . bufferedOutput ;
135135 const outputString = bufferedOutput . buffer ;
136136 bufferedOutput . buffer = '' ;
@@ -218,7 +218,7 @@ export default class JsExecutor {
218218 // necessary to load stdlib.wasm before its initialization to parallelize
219219 // language=JavaScript
220220 ( `const stdlibWasm = fetch('${ API_URLS . STDLIB_WASM ( hash ) } ');\n` + script ) . replace (
221- "fetch(new URL('./stdlib .wasm',import.meta.url).href)" ,
221+ "fetch(new URL('./stdlib_master .wasm',import.meta.url).href)" ,
222222 "stdlibWasm"
223223 ) . replace (
224224 "(extends) => { return { extends }; }" ,
@@ -235,7 +235,7 @@ export default class JsExecutor {
235235 this . stdlibExports = Promise . all ( [ skikoExports , stdlibExports ] )
236236 . then ( async ( [ skikoExportsResult , stdlibExportsResult ] ) => {
237237 return [
238- await stdlibExportsResult . stdlib ( {
238+ await stdlibExportsResult . instantiate ( {
239239 "./skiko.mjs" : skikoExportsResult
240240 } ) ,
241241 stdlibExportsResult
You can’t perform that action at this time.
0 commit comments