chore: add std::cout.flush
cc @kha
This commit is contained in:
parent
6a34b20540
commit
a43a225013
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ extern "C" obj_res lean_io_initializing(obj_arg) {
|
|||
|
||||
extern "C" obj_res lean_io_prim_put_str(b_obj_arg s, obj_arg) {
|
||||
std::cout << string_to_std(s); // TODO(Leo): use out handle
|
||||
std::cout.flush(); // TODO(Leo): remove following line. Added for chasing bug
|
||||
return set_io_result(box(0));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue