mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

As per #117276, this moves the platform definitions of `Stdout` and friends into `sys`. This PR also unifies the UNIX and Hermit implementations and moves the `__rust_print_err` function needed by libunwind on SGX into the dedicated module for such helper functions.