about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-31 05:52:42 +0000
committerbors <bors@rust-lang.org>2021-10-31 05:52:42 +0000
commit38b01d90657a355abf81b53cb3ee0b9a7dd88f98 (patch)
tree0f5bae79fae0bae867feae7a0197347aa39e9cf4 /compiler/rustc_codegen_llvm/src
parent0a09858b05bb0d92e87077c76fcb0648d32d44db (diff)
parenta58e21489424de9ce1fb48c2d4a7113dcd62f095 (diff)
downloadrust-38b01d90657a355abf81b53cb3ee0b9a7dd88f98.tar.gz
rust-38b01d90657a355abf81b53cb3ee0b9a7dd88f98.zip
Auto merge of #90391 - camelid:crate-size, r=jyn514
rustdoc: Compute some fields of `clean::Crate` on-demand to reduce size

`clean::Crate` is frequently moved by-value -- for example, in `DocFolder`
implementations -- so reducing its size should improve performance.

This PR reduces the size of `clean::Crate` from 168 bytes to 104 bytes.

r? `@jyn514`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions