Re:Porting Rust's Std to Rustix
by sanxiyn on Tuesday January 04, 2022 @08:28AM
(#29794445)
It was mostly to save time. You need libc path to support macOS anyway, and by using libc you can share most code between macOS and Linux (and BSDs). Once that is done, I think Linux-only syscall path was not justified then.
Re:Porting Rust's Std to Rustix
by samhw on Tuesday January 04, 2022 @09:54AM
(#29795385)
Interesting, thanks for the detail! That makes perfect sense as a rationale. I'm glad the Rust team now has enough time to refine these things - thanks for all your work :)
Now I think Rust has enough resource to try this.