-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]
- Loading branch information
1 parent
0b32d42
commit 04eced7
Showing
7 changed files
with
211 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
04eced7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@04eced7
04eced7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/issue-14724 = 04eced7 into auto
04eced7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/issue-14724 = 04eced7 merged ok, testing candidate = b755b4d
04eced7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6252
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6251
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5347
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5356
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6349
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5438
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5445
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6352
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5437
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5442
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5503
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3238
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6342
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5453
04eced7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = b755b4d