diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-05-10 17:47:38 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-05-10 17:47:55 -0700 |
| commit | 46886b2339112ba2d4cb8174b47cd7f94d25c6d4 (patch) | |
| tree | e5fb74b70342e92cf0e0dacd1709c9150571889b /src/rt/rust_srv.cpp | |
| parent | 10c926652515052000e44ef4ac10e6b4ebbc6e3a (diff) | |
| download | rust-46886b2339112ba2d4cb8174b47cd7f94d25c6d4.tar.gz rust-46886b2339112ba2d4cb8174b47cd7f94d25c6d4.zip | |
Attempt to put out burning darwin tinderbox.
Diffstat (limited to 'src/rt/rust_srv.cpp')
| -rw-r--r-- | src/rt/rust_srv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_srv.cpp b/src/rt/rust_srv.cpp index 4573bd01804..64befd6ee42 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 |
