Hello. I just found that file creation time can't be obtained with musl, but works with libc on Linux.
According to Metadata.create there is no such thing as "creation time" in POSIX stat(2), so it uses btime from statx(2) Linux-specific call (added in 4.11 kernel).
musl added statx(2) support a couple of months ago (7 years after 4.11 was released):
https://musl.libc.org/releases.html
February 29, 2024 (version 1.2.5)
This release adds extension functions statx
And rust still uses 1.2.3 from 2022.
https://doc.rust-lang.org/rustc/platform-support.html
x86_64-unknown-linux-musl 64-bit Linux with musl 1.2.3
So, my questions are:
- Would it be fixed when rust migrates to 1.2.5?
- How can I track it or file an issue?
thanks in advance