rust/compiler/rustc_metadata/src
bors 7418413a7f Auto merge of #115306 - tmiasko:encode-reachable-mir, r=cjgillot
Encode only MIR reachable from 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.
2023-09-10 16:31:11 +00:00
..
rmeta Auto merge of #115306 - tmiasko:encode-reachable-mir, r=cjgillot 2023-09-10 16:31:11 +00:00
creader.rs Use FreezeLock for CStore 2023-09-09 16:02:11 +02:00
dependency_format.rs rustc: Move crate_types from Session to GlobalCtxt 2023-08-09 14:17:54 +08:00
errors.rs Suggest x build library for a custom toolchain that fails to load core 2023-07-04 09:37:40 +08:00
foreign_modules.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
fs.rs rustc: Move crate_types from Session to GlobalCtxt 2023-08-09 14:17:54 +08:00
lib.rs Reuse const rendering from rustdoc in rmeta encoding 2023-09-01 17:22:48 -04:00
locator.rs rustc_interface: Dismantle register_plugins query 2023-08-07 19:33:23 +08:00
native_libs.rs rustc: Move crate_types from Session to GlobalCtxt 2023-08-09 14:17:54 +08:00