about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-09-09 03:56:41 +0000
committerbors <bors@rust-lang.org>2025-09-09 03:56:41 +0000
commitfefce3cecd63cebf2d7c9aa3dd90a84379fcfa1a (patch)
treeffba5c206c374ef70b72885e8b6c3a4b264ffa6d /compiler/rustc_codegen_ssa
parente9b6085088fd671ecfbe4cbebe1d26796d8bfa30 (diff)
parent095fa86a3ba30f4198c88ef300354391d3ab97e1 (diff)
downloadrust-fefce3cecd63cebf2d7c9aa3dd90a84379fcfa1a.tar.gz
rust-fefce3cecd63cebf2d7c9aa3dd90a84379fcfa1a.zip
Auto merge of #146018 - lambdageek:add-winres-version, r=wesleywiser
compiler: Add Windows resources to rustc-main and rustc_driver

Adds Windows resources with the rust version information to rustc-main.exe and rustc_driver.dll

Invokes `rc.exe` directly, rather than using one of the crates from the ecosystem to avoid adding dependencies.

A new internal `rustc_windows_rc` crate has the common build script machinery for locating `rc.exe` and constructing the resource script
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/Cargo.toml b/compiler/rustc_codegen_ssa/Cargo.toml
index 2dfbc581643..5462163f4ff 100644
--- a/compiler/rustc_codegen_ssa/Cargo.toml
+++ b/compiler/rustc_codegen_ssa/Cargo.toml
@@ -9,7 +9,7 @@ ar_archive_writer = "0.5"
 bitflags = "2.4.1"
 bstr = "1.11.3"
 # `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_llvm`.
+# per crate", so if you change this, you need to also change it in `rustc_llvm` and `rustc_windows_rc`.
 cc = "=1.2.16"
 itertools = "0.12"
 pathdiff = "0.2.0"