about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-24 12:17:53 +0000
committerbors <bors@rust-lang.org>2022-09-24 12:17:53 +0000
commitcdb76db493fa5e0382b18ecd9f8da7ef00ceb951 (patch)
tree8f3d7c7fe36a75e3ac1ca470b81ea5505d2e1be7 /compiler/rustc_codegen_gcc
parentbb5a01617589b5e3ece5a36435fc285bfd13c9a4 (diff)
parent29efe8c78920e9cd74bb8f7dacff7eaa5370fcf6 (diff)
downloadrust-cdb76db493fa5e0382b18ecd9f8da7ef00ceb951.tar.gz
rust-cdb76db493fa5e0382b18ecd9f8da7ef00ceb951.zip
Auto merge of #102167 - thomcc:exclusive-inline, r=scottmcm
Add `#[inline]` to trivial functions on `core::sync::Exclusive`

When optimizing for size things like these sometimes don't inlined even though they're generic. This is bad because they're no-ops.

Only dodgy one is poll I guess since it forwards to the inner poll, but it's not like we're doing `#[inline(always)]` here.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions