Skip to content

Commit 58e0a20

Browse files
feat: enable "statx" system call exposed as a function for musl libc
1 parent bbd8645 commit 58e0a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ cfg_if! {
21002100

21012101
// The statx syscall, available on some libcs.
21022102
cfg_if! {
2103-
if #[cfg(any(target_env = "gnu", target_os = "android"))] {
2103+
if #[cfg(any(target_env = "gnu", target_env = "musl", target_os = "android"))] {
21042104
extern "C" {
21052105
pub fn statx(
21062106
dirfd: c_int,

0 commit comments

Comments
 (0)