Closed kraj closed 2 years ago
Thanks for the PR. Can you maybe add some details about where this showed up?
I'd also appreciate a summary of the linked bug report; it's rather long, and I'm not sure what information or fact I should read from it.
What Rust tier does the corresponding target belong to?
I'm asking because I'm not keen on maintaining architecture specific code here. If it's anything but a tier 1 target my vote would be to account for this mismatch for elsewhere, e.g. upstream libc or nix😬
I'm fine with using a different API at this place, as long as we don't have do deal with cfg here. Perhaps we can use std::fs::Metadata here somehow.
I've opened #104 to use std::fs
in this place instead of libc
.
@kraj Please do test #104.
@kraj Did you have a chance to test #104?
@kraj Did you have a chance to test #104?
in limited build only test it seems to be ok.
@kraj thanks for the additional feedback. I'd also prefer taking the rework in #104 to address this.
I'm closing this in favour of #104 which I just merged 🙂
See https://sourceware.org/bugzilla/show_bug.cgi?id=17786
Signed-off-by: Khem Raj raj.khem@gmail.com