Skip to content

Commit

Permalink
sort out merge conflict thing, don't resolve start func
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferfish101007 committed Aug 27, 2023
1 parent ea6f5cb commit 3f93576
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/targets/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1303,21 +1303,9 @@ impl From<IrProject> for WebWasmFile {
}} catch {{
try {{
new WebAssembly.Module(buf);
<<<<<<< HEAD
<<<<<<< Updated upstream
console.error('invalid WASM module');
=======
reject('invalid WASM module');
>>>>>>> 151c0889f347e326af68543b01441b88e048438d
exit(1);
}} catch (e) {{
reject('invalid WASM module: ' + e.message);
exit(1);
=======
return reject('invalid WASM module');
}} catch (e) {{
return reject('invalid WASM module: ' + e.message);
>>>>>>> Stashed changes
}}
}}
function sleep(ms) {{
Expand All @@ -1331,7 +1319,7 @@ impl From<IrProject> for WebWasmFile {
strings.set(i, str);
}}
strings_tbl = strings;
resolve({{ strings, green_flag, tick, memory }});
/*resolve({{ strings, green_flag, tick, memory }})*/;
green_flag();
startTime = Date.now();
$outertickloop: while (true) {{
Expand Down

0 comments on commit 3f93576

Please sign in to comment.