rust-lang / libc

Raw bindings to platform APIs for Rust
https://docs.rs/libc
Apache License 2.0
2.1k stars 1.04k forks source link

statx using the musl libc #3972

Open famfo opened 1 month ago

famfo commented 1 month ago

Since musl 1.2.5 it supports the statx() syscall: https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?h=v1.2.5#n2402 defined here: https://git.musl-libc.org/cgit/musl/tree/src/linux/statx.c?h=v1.2.5

target triple: *-unknown-linux-musl

est31 commented 3 weeks ago

FTR you can always do statx manually using the rustix crate.

andar1an commented 2 weeks ago

Hoping this comes through soon. This directly affects playing with some io_uring related crates on musl systems