Skip to content

Commit 2dedbe4

Browse files
committed
fix(ci): gate statx flags import
1 parent acaf69d commit 2dedbe4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/backend/libc/fs/syscalls.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ use crate::fs::SealFlags;
4949
target_os = "wasi",
5050
)))]
5151
use crate::fs::StatFs;
52+
#[cfg(all(
53+
linux_kernel,
54+
any(
55+
target_pointer_width = "32",
56+
target_arch = "mips64",
57+
target_arch = "mips64r6"
58+
)
59+
))]
60+
use crate::fs::StatxFlags;
5261
#[cfg(not(any(target_os = "espidf", target_os = "vita")))]
5362
use crate::fs::Timestamps;
5463
#[cfg(not(any(
@@ -91,7 +100,7 @@ use {crate::fs::Advice, core::num::NonZeroU64};
91100
use {crate::fs::XattrFlags, core::mem::size_of, core::ptr::null_mut};
92101
#[cfg(linux_kernel)]
93102
use {
94-
crate::fs::{ResolveFlags, Statx, StatxFlags, StatxRequestFlags, CWD},
103+
crate::fs::{ResolveFlags, Statx, StatxRequestFlags, CWD},
95104
core::ptr::null,
96105
};
97106

0 commit comments

Comments
 (0)