about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-08-28 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-09-10 13:55:33 +0200
commitd99333e44450914cf8845c55c9d743653138740b (patch)
tree4fb18dd8dc121ff312fa937e87cc0045e1ed6ace /compiler/rustc_mir_transform/src/coverage/debug.rs
parent01ce2d0ea18bb48d4eb03d7b4b13ed7fd394b1e5 (diff)
downloadrust-d99333e44450914cf8845c55c9d743653138740b.tar.gz
rust-d99333e44450914cf8845c55c9d743653138740b.zip
Encode only MIR that can be used by other crates
Only reachable items might participate in the code generation in the
downstream crates. Omit redundant optimized MIR of unreachable items
from a crate metadata.

Additionally, include reachable closures in reachable set, so that
unreachable closures can be omitted on the same basis.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions