@@ -30,11 +30,18 @@ feature! {
3030 pub use self :: pivot_root:: * ;
3131}
3232
33- #[ cfg( any( target_os = "android" , target_os = "freebsd" ,
34- target_os = "linux" , target_os = "openbsd" ) ) ]
33+ #[ cfg( any( target_os = "android" ,
34+ target_os = "dragonfly" ,
35+ target_os = "freebsd" ,
36+ target_os = "linux" ,
37+ target_os = "openbsd" ) ) ]
3538pub use self :: setres:: * ;
3639
37- #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
40+ #[ cfg( any( target_os = "android" ,
41+ target_os = "dragonfly" ,
42+ target_os = "freebsd" ,
43+ target_os = "linux" ,
44+ target_os = "openbsd" ) ) ]
3845pub use self :: getres:: * ;
3946
4047feature ! {
@@ -2691,8 +2698,11 @@ mod pivot_root {
26912698}
26922699}
26932700
2694- #[ cfg( any( target_os = "android" , target_os = "freebsd" ,
2695- target_os = "linux" , target_os = "openbsd" ) ) ]
2701+ #[ cfg( any( target_os = "android" ,
2702+ target_os = "dragonfly" ,
2703+ target_os = "freebsd" ,
2704+ target_os = "linux" ,
2705+ target_os = "openbsd" ) ) ]
26962706mod setres {
26972707 feature ! {
26982708 #![ feature = "users" ]
@@ -2735,7 +2745,11 @@ mod setres {
27352745 }
27362746}
27372747
2738- #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
2748+ #[ cfg( any( target_os = "android" ,
2749+ target_os = "dragonfly" ,
2750+ target_os = "freebsd" ,
2751+ target_os = "linux" ,
2752+ target_os = "openbsd" ) ) ]
27392753mod getres {
27402754 feature ! {
27412755 #![ feature = "users" ]
0 commit comments