mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-16 01:06:39 +00:00

This ensures that linking will use the correct crate name even when `#![crate_name = "..."]` is used to specify the crate name.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.