[win] Use find-msvc-tools instead of cc to find the linker and rc on Windows

This commit is contained in:
Daniel Paoliello
2025-09-19 09:16:26 -07:00
parent 59043567a5
commit 4da59355fd
8 changed files with 22 additions and 45 deletions

View File

@@ -10,8 +10,7 @@ libc = "0.2.73"
[build-dependencies]
# tidy-alphabetical-start
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version
# per crate", so if you change this, you need to also change it in `rustc_codegen_ssa` and `rustc_windows_rc`.
# `cc` updates often break things, so we pin it here.
cc = "=1.2.16"
# tidy-alphabetical-end