mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
dd4f616423
By marking `__errno_location` as `#[ffi_const]` and `std::sys::os::errno` as `#[inline]`, this PR allows merging multiple calls to `io::Error::last_os_error()` into one.