about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-29 21:08:12 +0100
committerGitHub <noreply@github.com>2025-03-29 21:08:12 +0100
commit821e0fe0a2f22a81b4df63b0dcb7de989b10b5dc (patch)
tree09d139c035d084ae2f1462505aa44fd0a991e4ee /compiler/rustc_codegen_llvm/src/builder.rs
parentfb6d10e13b741ecc15ce642d4e1609ca3ad1ba3b (diff)
parentdd4f616423219d81ffd34786d6a589b3ad7ba803 (diff)
downloadrust-821e0fe0a2f22a81b4df63b0dcb7de989b10b5dc.tar.gz
rust-821e0fe0a2f22a81b4df63b0dcb7de989b10b5dc.zip
Rollup merge of #139081 - joboet:errno_dedup, r=Noratrieb
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