Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #3366 - vita-rust:nonblock, r=JohnTitor
Added socketpair and pipe2 for Vita target As an effort to port `tokio` to Vita, `socketpair` and `pipe2` calls were implemented in Vita newlib. A PR to newlib with these methods while limitations/implementation details are discussed (vitasdk/newlib/pull/101), but until it is merged there is [vita-newlib-shims](https://crates.io/crates/vita-newlib-shims) crate with these methods implemented. The implementation may change but methods will certainly remain, and the interface will remain POSIX. `socketpair` will be needed for `rust-lang/rust` std, `rust-lang/socket2`, `rust-lang/mio`. `pipe2` will be required for `mio` pipe-based Waker.
- Loading branch information