Add 'System halt' log message when WASM exits
This commit is contained in:
1
boot.js
1
boot.js
@@ -3,4 +3,5 @@ self.onmessage = async (e) => {
|
|||||||
const mod = await WebAssembly.instantiateStreaming(
|
const mod = await WebAssembly.instantiateStreaming(
|
||||||
fetch('wipforth.wasm'), exports)
|
fetch('wipforth.wasm'), exports)
|
||||||
mod.instance.exports.reset();
|
mod.instance.exports.reset();
|
||||||
|
console.log('System halt');
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user