File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
library/std/src/os/unix/net Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 88 target_os = "macos" ,
99 target_os = "watchos" ,
1010 target_os = "netbsd" ,
11- target_os = "openbsd"
11+ target_os = "openbsd" ,
12+ target_os = "nto"
1213) ) ]
1314use super :: { peer_cred, UCred } ;
1415#[ cfg( any( doc, target_os = "android" , target_os = "linux" ) ) ]
@@ -234,7 +235,8 @@ impl UnixStream {
234235 target_os = "macos" ,
235236 target_os = "watchos" ,
236237 target_os = "netbsd" ,
237- target_os = "openbsd"
238+ target_os = "openbsd" ,
239+ target_os = "nto"
238240 ) ) ]
239241 pub fn peer_cred ( & self ) -> io:: Result < UCred > {
240242 peer_cred ( self )
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ pub(super) use self::impl_linux::peer_cred;
3030 target_os = "dragonfly" ,
3131 target_os = "freebsd" ,
3232 target_os = "openbsd" ,
33- target_os = "netbsd"
33+ target_os = "netbsd" ,
34+ target_os = "nto"
3435) ) ]
3536pub ( super ) use self :: impl_bsd:: peer_cred;
3637
You can’t perform that action at this time.
0 commit comments