convey
convey copied to clipboard
Flush correctly
When trying to impl Drop for InnerOutput, we quickly run into the issue of
thread '<unnamed>' panicked at 'cannot access stdout during shutdown', src/libcore/option.rs:1008:5
since most usages of Output are in main. The trivial solution is to add output.flush()?; to your fn main, but that's not very ergonomic.