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 @@ -239,7 +239,11 @@ cfg_if! {
239239}
240240
241241cfg_if ! {
242- if #[ cfg( any( target_env = "gnu" , target_os = "android" , target_env = "musl" ) ) ] {
242+ if #[ cfg( any(
243+ target_env = "gnu" ,
244+ target_os = "android" ,
245+ target_env = "musl"
246+ ) ) ] {
243247 s! {
244248 pub struct statx {
245249 pub stx_mask: crate :: __u32,
@@ -1709,7 +1713,11 @@ cfg_if! {
17091713}
17101714
17111715cfg_if ! {
1712- if #[ cfg( any( target_env = "gnu" , target_os = "android" , target_env = "musl" ) ) ] {
1716+ if #[ cfg( any(
1717+ target_env = "gnu" ,
1718+ target_os = "android" ,
1719+ target_env = "musl"
1720+ ) ) ] {
17131721 pub const AT_STATX_SYNC_TYPE : c_int = 0x6000 ;
17141722 pub const AT_STATX_SYNC_AS_STAT : c_int = 0x0000 ;
17151723 pub const AT_STATX_FORCE_SYNC : c_int = 0x2000 ;
@@ -2206,7 +2214,11 @@ cfg_if! {
22062214
22072215// The statx syscall, available on some libcs.
22082216cfg_if ! {
2209- if #[ cfg( any( target_env = "gnu" , target_os = "android" , target_env = "musl" ) ) ] {
2217+ if #[ cfg( any(
2218+ target_env = "gnu" ,
2219+ target_os = "android" ,
2220+ target_env = "musl"
2221+ ) ) ] {
22102222 extern "C" {
22112223 pub fn statx(
22122224 dirfd: c_int,
You can’t perform that action at this time.
0 commit comments