Fix console flushing on WASM.
This commit is contained in:
committed by
Pavel Punegov
parent
6be3206ba8
commit
e4eb223ff9
@@ -164,6 +164,9 @@ let konan_dependencies = {
|
|||||||
// TODO: There is no writeErr() in d8.
|
// TODO: There is no writeErr() in d8.
|
||||||
// Approximate it with write() to stdout for now.
|
// Approximate it with write() to stdout for now.
|
||||||
runtime.write(utf8decode(toString(str)));
|
runtime.write(utf8decode(toString(str)));
|
||||||
|
},
|
||||||
|
fflush: function(file) {
|
||||||
|
runtime.flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user