rust-lang / libc

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

statx using the musl libc #3972

Open famfo opened 3 weeks ago

famfo commented 3 weeks 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 1 week ago

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

andar1an commented 2 days ago

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