Skip to content

Commit 48e8413

Browse files
committed
Enable statx on musl-libc
Version 1.2.5 of musl-libc added support for the statx system call[1]. [1]: https://musl.libc.org/releases.html
1 parent 23ad220 commit 48e8413

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/install-musl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
set -ex
77

8-
MUSL_VERSION=1.1.24
8+
MUSL_VERSION=1.2.5
99
MUSL="musl-${MUSL_VERSION}"
1010

1111
# Download, configure, build, and install musl:

src/unix/linux_like/mod.rs

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

18891889
// The statx syscall, available on some libcs.
18901890
cfg_if! {
1891-
if #[cfg(any(target_env = "gnu", target_os = "android"))] {
1891+
if #[cfg(any(target_env = "gnu", target_os = "android", target_env = "musl"))] {
18921892
mod linux_statx;
18931893
pub use self::linux_statx::*;
18941894
}

0 commit comments

Comments
 (0)