about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-23 03:35:32 +0000
committerbors <bors@rust-lang.org>2020-12-23 03:35:32 +0000
commit18b745e9bf3e11ed658b0fc4eb7ddaa8e2178b39 (patch)
tree1af8fdba3c11ed50333ff6272747d8fdc335a24b /compiler/rustc_codegen_llvm/src
parent89886e69369b845463cf1b27abd536ce3adb7c78 (diff)
parent1523f67f16cb65da740d20b9853ce7f267579a7d (diff)
downloadrust-18b745e9bf3e11ed658b0fc4eb7ddaa8e2178b39.tar.gz
rust-18b745e9bf3e11ed658b0fc4eb7ddaa8e2178b39.zip
Auto merge of #80095 - jyn514:stability-on-demand, r=GuillaumeGomez
[rustdoc] Calculate stability, const_stability, and deprecation on-demand

Previously, they would always be calculated ahead of time, which bloated the size of `clean::Item`.

Builds on https://github.com/rust-lang/rust/pull/80090 and should not be merged before. Helps with https://github.com/rust-lang/rust/issues/79103 and https://github.com/rust-lang/rust/issues/76382.

cc https://github.com/rust-lang/rust/pull/80014#issuecomment-746810284

This brings `Item` down to 568 bytes, down from 616.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions