mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
319fe230f0
A lot of places had special handling just in case they would get an allocator module even though most of these places could never get one or would have a trivial implementation for the allocator module. Moving all handling of the allocator module to a single place simplifies things a fair bit.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.