From 46886b2339112ba2d4cb8174b47cd7f94d25c6d4 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 10 May 2011 17:47:38 -0700 Subject: Attempt to put out burning darwin tinderbox. --- src/rt/rust_srv.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/rt/rust_srv.cpp') 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 -- cgit v1.2.3