about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-09 21:34:14 +0000
committerbors <bors@rust-lang.org>2023-11-09 21:34:14 +0000
commit0f44eb32f1123ac93ab404d74c295263ce468343 (patch)
tree06def196d1a310bc38960080a0b067b0d157988e /compiler/rustc_codegen_gcc
parenteae4135939881ae730342bd336ae6302c3787e27 (diff)
parentd32d9238cfb83bff2147212c1c11b53f0bd1563b (diff)
downloadrust-0f44eb32f1123ac93ab404d74c295263ce468343.tar.gz
rust-0f44eb32f1123ac93ab404d74c295263ce468343.zip
Auto merge of #117727 - saethlin:inline-derived-fmt, r=nnethercote
Emit #[inline] on derive(Debug)

While working on https://github.com/rust-lang/rust/pull/116583 I noticed that the `cross_crate_inlinable` query identifies a lot of derived `Debug` impls as a MIR body that's little more than a call, which suggests they may be a good candidate for `#[inline]`. So here I've implemented that change specifically.

It seems to provide a nice improvement to build times.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions