diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-08-28 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-09-10 13:55:33 +0200 |
| commit | d99333e44450914cf8845c55c9d743653138740b (patch) | |
| tree | 4fb18dd8dc121ff312fa937e87cc0045e1ed6ace /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 01ce2d0ea18bb48d4eb03d7b4b13ed7fd394b1e5 (diff) | |
| download | rust-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
