diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-28 12:46:46 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-01 10:05:31 -0800 |
| commit | 1ee94a1336071fb0319b23a6c73b3d83ccd66bdf (patch) | |
| tree | 293425ff632ba752c5bca730584c7995224e31f0 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 3d117cf3ca9dc091dd605b33617c32c6019b0e2b (diff) | |
| download | rust-1ee94a1336071fb0319b23a6c73b3d83ccd66bdf.tar.gz rust-1ee94a1336071fb0319b23a6c73b3d83ccd66bdf.zip | |
std: Flush when buffered writers are dropped
It's still not entirely clear what should happen if there was an error when flushing, but I'm deferring that decision to #12628. I believe that it's crucial for the usefulness of buffered writers to be able to flush on drop. It's just too easy to forget to flush them in small one-off use cases. cc #12628
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
