You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments