stdout/err from wasm package
This commit is contained in:
parent
c60f7ae768
commit
4d60a935fa
@ -91,5 +91,7 @@ export function execute(args) {
|
||||
}
|
||||
|
||||
window.Module = {
|
||||
canvas: canvas_el
|
||||
canvas: canvas_el,
|
||||
print: s => console.log("print", s),
|
||||
printErr: s => console.warn("printErr", s)
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user