File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -329,13 +329,19 @@ impl<'a> DerefMut for MaybeUninitSlice<'a> {
329
329
pub struct TcpKeepalive {
330
330
#[ cfg_attr( target_os = "openbsd" , allow( dead_code) ) ]
331
331
time : Option < Duration > ,
332
- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
332
+ #[ cfg( not( any(
333
+ target_os = "openbsd" ,
334
+ target_os = "redox" ,
335
+ target_os = "solaris" ,
336
+ target_os = "nto" ,
337
+ ) ) ) ]
333
338
interval : Option < Duration > ,
334
339
#[ cfg( not( any(
335
340
target_os = "openbsd" ,
336
341
target_os = "redox" ,
337
342
target_os = "solaris" ,
338
- target_os = "windows"
343
+ target_os = "windows" ,
344
+ target_os = "nto" ,
339
345
) ) ) ]
340
346
retries : Option < u32 > ,
341
347
}
@@ -345,13 +351,19 @@ impl TcpKeepalive {
345
351
pub const fn new ( ) -> TcpKeepalive {
346
352
TcpKeepalive {
347
353
time : None ,
348
- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
354
+ #[ cfg( not( any(
355
+ target_os = "openbsd" ,
356
+ target_os = "redox" ,
357
+ target_os = "solaris" ,
358
+ target_os = "nto" ,
359
+ ) ) ) ]
349
360
interval : None ,
350
361
#[ cfg( not( any(
351
362
target_os = "openbsd" ,
352
363
target_os = "redox" ,
353
364
target_os = "solaris" ,
354
- target_os = "windows"
365
+ target_os = "windows" ,
366
+ target_os = "nto" ,
355
367
) ) ) ]
356
368
retries : None ,
357
369
}
You can’t perform that action at this time.
0 commit comments