File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,11 @@ cfg_if! {
241
241
}
242
242
243
243
cfg_if ! {
244
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
244
+ if #[ cfg( any(
245
+ target_env = "gnu" ,
246
+ target_os = "android" ,
247
+ all( target_env = "musl" , musl_v1_2_3)
248
+ ) ) ] {
245
249
s! {
246
250
pub struct statx {
247
251
pub stx_mask: crate :: __u32,
@@ -1662,7 +1666,11 @@ cfg_if! {
1662
1666
}
1663
1667
1664
1668
cfg_if ! {
1665
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1669
+ if #[ cfg( any(
1670
+ target_env = "gnu" ,
1671
+ target_os = "android" ,
1672
+ all( target_env = "musl" , musl_v1_2_3)
1673
+ ) ) ] {
1666
1674
pub const AT_STATX_SYNC_TYPE : c_int = 0x6000 ;
1667
1675
pub const AT_STATX_SYNC_AS_STAT : c_int = 0x0000 ;
1668
1676
pub const AT_STATX_FORCE_SYNC : c_int = 0x2000 ;
@@ -2172,7 +2180,11 @@ cfg_if! {
2172
2180
2173
2181
// The statx syscall, available on some libcs.
2174
2182
cfg_if ! {
2175
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
2183
+ if #[ cfg( any(
2184
+ target_env = "gnu" ,
2185
+ target_os = "android" ,
2186
+ all( target_env = "musl" , musl_v1_2_3)
2187
+ ) ) ] {
2176
2188
extern "C" {
2177
2189
pub fn statx(
2178
2190
dirfd: c_int,
You can’t perform that action at this time.
0 commit comments