about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2023-01-21 00:59:19 +0400
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2023-01-21 22:35:20 +0400
commit415c14129b02cc3c61f294cff885cee6c589940d (patch)
tree5e8746ed819e35bd3aa095d2760c2917230a6a6c /compiler/rustc_codegen_cranelift/src
parent005fc0f00f2d4ceaf523b67a8f9c5665b8ac5baf (diff)
downloadrust-415c14129b02cc3c61f294cff885cee6c589940d.tar.gz
rust-415c14129b02cc3c61f294cff885cee6c589940d.zip
rustc_metadata: Encode `doc(hidden)` flag to metadata
To retrieve these flags rustdoc currently has to mass decode full attributes for items in the whole crate tree, so it's better to pre-compute it in advance.

This is especially for short-term performance of https://github.com/rust-lang/rust/pull/107054 because resolver cannot use memoization of query results yet.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
0 files changed, 0 insertions, 0 deletions