aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-05-10 17:47:38 -0700
committerGraydon Hoare <[email protected]>2011-05-10 17:47:55 -0700
commit46886b2339112ba2d4cb8174b47cd7f94d25c6d4 (patch)
treee5fb74b70342e92cf0e0dacd1709c9150571889b /src/rt
parentrustc: Number everything with an annotation (diff)
downloadrust-46886b2339112ba2d4cb8174b47cd7f94d25c6d4.tar.xz
rust-46886b2339112ba2d4cb8174b47cd7f94d25c6d4.zip
Attempt to put out burning darwin tinderbox.
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_srv.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_srv.cpp b/src/rt/rust_srv.cpp
index 4573bd01..64befd6e 100644
--- a/src/rt/rust_srv.cpp
+++ b/src/rt/rust_srv.cpp
@@ -31,6 +31,10 @@ rust_srv::realloc(void *p, size_t bytes) {
void
rust_srv::log(char const *msg) {
printf("rt: %s\n", msg);
+ // FIXME: flushing each time is expensive, but at the moment
+ // necessary to get output through before a rust_task::fail
+ // call. This should be changed.
+ fflush(stdout);
}
void