about summary refs log tree commit diff
path: root/Cargo.lock
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 /Cargo.lock
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 'Cargo.lock')
-rw-r--r--Cargo.lock9
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 8d1566bf77f..ce5217fe832 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3248,6 +3248,7 @@ dependencies = [
  "rustc_driver_impl",
  "rustc_public",
  "rustc_public_bridge",
+ "rustc_windows_rc",
  "tikv-jemalloc-sys",
 ]
 
@@ -3623,6 +3624,7 @@ name = "rustc_driver"
 version = "0.0.0"
 dependencies = [
  "rustc_driver_impl",
+ "rustc_windows_rc",
 ]
 
 [[package]]
@@ -4720,6 +4722,13 @@ dependencies = [
 ]
 
 [[package]]
+name = "rustc_windows_rc"
+version = "0.0.0"
+dependencies = [
+ "cc",
+]
+
+[[package]]
 name = "rustdoc"
 version = "0.0.0"
 dependencies = [