about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-03-28 19:32:36 +0100
committerjoboet <jonasboettiger@icloud.com>2025-03-28 19:32:36 +0100
commitdd4f616423219d81ffd34786d6a589b3ad7ba803 (patch)
tree5d88314eba8ac52d6479a261ad8973f59bb12098 /compiler/rustc_codegen_llvm/src
parent2a06022951893fe5b5384f8dbd75b4e6e3b5cee0 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions