File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,18 @@ impl ClientBuilder {
601
601
proxies. clone ( ) ,
602
602
user_agent ( & config. headers ) ,
603
603
config. local_address ,
604
- #[ cfg( any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" ) ) ]
604
+ #[ cfg( any(
605
+ target_os = "android" ,
606
+ target_os = "fuchsia" ,
607
+ target_os = "illumos" ,
608
+ target_os = "ios" ,
609
+ target_os = "linux" ,
610
+ target_os = "macos" ,
611
+ target_os = "solaris" ,
612
+ target_os = "tvos" ,
613
+ target_os = "visionos" ,
614
+ target_os = "watchos" ,
615
+ ) ) ]
605
616
config. interface . as_deref ( ) ,
606
617
config. nodelay ,
607
618
config. tls_info ,
Original file line number Diff line number Diff line change @@ -564,7 +564,18 @@ impl ClientBuilder {
564
564
/// .interface(interface)
565
565
/// .build().unwrap();
566
566
/// ```
567
- #[ cfg( any( target_os = "android" , target_os = "fuchsia" , target_os = "linux" ) ) ]
567
+ #[ cfg( any(
568
+ target_os = "android" ,
569
+ target_os = "fuchsia" ,
570
+ target_os = "illumos" ,
571
+ target_os = "ios" ,
572
+ target_os = "linux" ,
573
+ target_os = "macos" ,
574
+ target_os = "solaris" ,
575
+ target_os = "tvos" ,
576
+ target_os = "visionos" ,
577
+ target_os = "watchos" ,
578
+ ) ) ]
568
579
pub fn interface ( self , interface : & str ) -> ClientBuilder {
569
580
self . with_inner ( move |inner| inner. interface ( interface) )
570
581
}
You can’t perform that action at this time.
0 commit comments