We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0261e commit 41ee874Copy full SHA for 41ee874
library/std/src/sys/unix/net.rs
@@ -102,7 +102,7 @@ impl Socket {
102
}
103
104
105
- #[cfg(not(target_os = "vxworks"))]
+ #[cfg(not(any(target_os = "vxworks", target_os = "vita")))]
106
pub fn new_pair(fam: c_int, ty: c_int) -> io::Result<(Socket, Socket)> {
107
unsafe {
108
let mut fds = [0, 0];
@@ -133,7 +133,7 @@ impl Socket {
133
134
135
136
- #[cfg(target_os = "vxworks")]
+ #[cfg(any(target_os = "vxworks", target_os = "vita"))]
137
pub fn new_pair(_fam: c_int, _ty: c_int) -> io::Result<(Socket, Socket)> {
138
unimplemented!()
139
0 commit comments