diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-06-09 13:23:49 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-16 10:53:49 -0700 |
| commit | 04eced750e78770e16354c07fddf7ecaaab6ef43 (patch) | |
| tree | 2dc3063008f8ee04805bd5e588d290afa7c02095 /src/rustllvm/RustWrapper.cpp | |
| parent | 0b32d42a5da84c1f23a2b50b9a6741eea69773c4 (diff) | |
| download | rust-04eced750e78770e16354c07fddf7ecaaab6ef43.tar.gz rust-04eced750e78770e16354c07fddf7ecaaab6ef43.zip | |
std: Improve pipe() functionality
* os::pipe() now returns IoResult<os::Pipe> * os::pipe() is now unsafe because it does not arrange for deallocation of file descriptors * os::Pipe fields are renamed from input to reader and out to write. * PipeStream::pair() has been added. This is a safe method to get a pair of pipes. * Dealing with pipes in native process bindings have been improved to be more robust in the face of failure and intermittent errors. This converts a few fail!() situations to Err situations. Closes #9458 cc #13538 Closes #14724 [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
