Fix HorizonOS regression in FileTimes by Meziu · Pull Request #100249 · rust-lang/rust (original) (raw)
Does Horizon support any fallback, such as
futimes
?
@joshtriplett from a quick look, it seems like there is one in its version of newlib
, but the libc
crate doesn't a declaration for it, so std can't use it without a libc
PR.
Is there a codepath in library/std/src/sys/unix/fs.rs
that uses the fallback futimes
? It shouldn't be much work to upstream a libc
PR to expose the futimes
call.
Edit: nevermind, I tried it with the C toolchain and got an undefined reference, so I don't think this is an option. The homebrew filesystem on the 3DS is a bit unusual, so I suppose it's not too surprising.