File tree 2 files changed +6
-3
lines changed
library/std/src/os/unix/net
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
target_os = "macos" ,
9
9
target_os = "watchos" ,
10
10
target_os = "netbsd" ,
11
- target_os = "openbsd"
11
+ target_os = "openbsd" ,
12
+ target_os = "nto"
12
13
) ) ]
13
14
use super :: { peer_cred, UCred } ;
14
15
#[ cfg( any( doc, target_os = "android" , target_os = "linux" ) ) ]
@@ -234,7 +235,8 @@ impl UnixStream {
234
235
target_os = "macos" ,
235
236
target_os = "watchos" ,
236
237
target_os = "netbsd" ,
237
- target_os = "openbsd"
238
+ target_os = "openbsd" ,
239
+ target_os = "nto"
238
240
) ) ]
239
241
pub fn peer_cred ( & self ) -> io:: Result < UCred > {
240
242
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;
30
30
target_os = "dragonfly" ,
31
31
target_os = "freebsd" ,
32
32
target_os = "openbsd" ,
33
- target_os = "netbsd"
33
+ target_os = "netbsd" ,
34
+ target_os = "nto"
34
35
) ) ]
35
36
pub ( super ) use self :: impl_bsd:: peer_cred;
36
37
You can’t perform that action at this time.
0 commit comments