Skip to content

Commit 5ff1642

Browse files
committed
---
yaml --- r: 2446 b: refs/heads/master c: 46886b2 h: refs/heads/master v: v3
1 parent 94b8684 commit 5ff1642

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 10c926652515052000e44ef4ac10e6b4ebbc6e3a
2+
refs/heads/master: 46886b2339112ba2d4cb8174b47cd7f94d25c6d4

trunk/src/rt/rust_srv.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ rust_srv::realloc(void *p, size_t bytes) {
3131
void
3232
rust_srv::log(char const *msg) {
3333
printf("rt: %s\n", msg);
34+
// FIXME: flushing each time is expensive, but at the moment
35+
// necessary to get output through before a rust_task::fail
36+
// call. This should be changed.
37+
fflush(stdout);
3438
}
3539

3640
void

0 commit comments

Comments
 (0)