mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
[win] Use find-msvc-tools instead of cc to find the linker and rc on Windows `find-msvc-tools` was factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) and `rustc_windows_rc` (finding the Windows Resource Compiler when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of building the Rust compiler).
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.