mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 20:27:48 +00:00

Remove cgu_reuse_tracker from Session This removes a bit of global mutable state. It will now miss post-lto cgu reuse when ThinLTO determines that a cgu doesn't get changed, but there weren't any tests for this anyway and a test for it would be fragile to the exact implementation of ThinLTO in LLVM.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.