> Instead, Rust's std currently goes through libc
Are you sure about this? Rust's std's File::open calls CreateFile on Windows, not libc open. Isn't CreateFile correct Kernel32.dll API to call?
https://github.com/rust-lang/rust/blob/master/library/std/sr...