about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc')
-rw-r--r--compiler/rustc/Cargo.toml5
-rw-r--r--compiler/rustc/build.rs16
2 files changed, 1 insertions, 20 deletions
diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml
index e3214d1ab9c..3ca75235446 100644
--- a/compiler/rustc/Cargo.toml
+++ b/compiler/rustc/Cargo.toml
@@ -33,8 +33,3 @@ llvm = ['rustc_driver_impl/llvm']
 max_level_info = ['rustc_driver_impl/max_level_info']
 rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
 # tidy-alphabetical-end
-
-[build-dependencies]
-# tidy-alphabetical-start
-rustc_windows_rc = { path = "../rustc_windows_rc" }
-# tidy-alphabetical-end
diff --git a/compiler/rustc/build.rs b/compiler/rustc/build.rs
index 9b5def53e3c..8b7d28d2b8a 100644
--- a/compiler/rustc/build.rs
+++ b/compiler/rustc/build.rs
@@ -1,6 +1,4 @@
-use std::{env, path};
-
-use rustc_windows_rc::{VersionInfoFileType, compile_windows_resource_file};
+use std::env;
 
 fn main() {
     let target_os = env::var("CARGO_CFG_TARGET_OS");
@@ -15,18 +13,6 @@ fn main() {
 
 // Add a manifest file to rustc.exe.
 fn set_windows_exe_options() {
-    set_windows_resource();
-    set_windows_manifest();
-}
-
-fn set_windows_resource() {
-    let stem = path::PathBuf::from("rustc_main_resource");
-    let file_description = "rustc";
-    let res_file = compile_windows_resource_file(&stem, file_description, VersionInfoFileType::App);
-    println!("cargo:rustc-link-arg={}", res_file.display());
-}
-
-fn set_windows_manifest() {
     static WINDOWS_MANIFEST_FILE: &str = "Windows Manifest.xml";
 
     let mut manifest = env::current_dir().unwrap();