Skip to content

Commit

Permalink
Enable statx on musl-libc
Browse files Browse the repository at this point in the history
Version 1.2.5 of musl-libc added support for the statx system call[1].

[1]: https://musl.libc.org/releases.html
  • Loading branch information
neuschaefer committed Oct 16, 2024
1 parent 23ad220 commit 48e8413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/install-musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -ex

MUSL_VERSION=1.1.24
MUSL_VERSION=1.2.5
MUSL="musl-${MUSL_VERSION}"

# Download, configure, build, and install musl:
Expand Down
2 changes: 1 addition & 1 deletion src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ cfg_if! {

// The statx syscall, available on some libcs.
cfg_if! {
if #[cfg(any(target_env = "gnu", target_os = "android"))] {
if #[cfg(any(target_env = "gnu", target_os = "android", target_env = "musl"))] {
mod linux_statx;
pub use self::linux_statx::*;
}
Expand Down

0 comments on commit 48e8413

Please sign in to comment.