diff options
| author | joboet <jonasboettiger@icloud.com> | 2025-03-28 19:32:36 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2025-03-28 19:32:36 +0100 |
| commit | dd4f616423219d81ffd34786d6a589b3ad7ba803 (patch) | |
| tree | 5d88314eba8ac52d6479a261ad8973f59bb12098 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 2a06022951893fe5b5384f8dbd75b4e6e3b5cee0 (diff) | |
| download | rust-dd4f616423219d81ffd34786d6a589b3ad7ba803.tar.gz rust-dd4f616423219d81ffd34786d6a589b3ad7ba803.zip | |
std: deduplicate `errno` accesses
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
