about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2013-09-09 22:38:43 -0700
committerSteven Fackler <sfackler@gmail.com>2013-09-10 21:26:28 -0700
commit71f0305cf15ba2cf5d045fb16bbe0ff4b8575883 (patch)
tree8eb8a703760431ae3a0d76806fc496d7e7c16a8d /src/rustllvm/RustWrapper.cpp
parentaf259a651d52e7243c74a833b2b39a61890e89fe (diff)
downloadrust-71f0305cf15ba2cf5d045fb16bbe0ff4b8575883.tar.gz
rust-71f0305cf15ba2cf5d045fb16bbe0ff4b8575883.zip
Buffered I/O wrappers
The default buffer size is the same as the one in Java's BufferedWriter.

We may want BufferedWriter to have a Drop impl that flushes, but that
isn't possible right now due to #4252/#4430. This would be a bit
awkward due to the possibility of the inner flush failing. For what it's
worth, Java's BufferedReader doesn't have a flushing finalizer, but that
may just be because Java's finalizer support is awful.

Closes #8953
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions