mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 05:59:39 +00:00
Move ty::print methods to Drop-based scope guards Primary goal is reducing codegen of the TLS access for each closure, which shaves ~3 seconds of bootstrap time over rustc as a whole.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.