about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 16:34:50 -0700
committerGitHub <noreply@github.com>2020-07-22 16:34:50 -0700
commitb32383ca901b01192e8110afab8421a20062caa4 (patch)
tree1fd7e116f0ca341d398fdf157cb5f2606791cfc2 /src/librustc_codegen_llvm
parent7b28e7bf6bd209b76639748b1ab15ac65b586e22 (diff)
parent7be36a86f7b7798e662d844b33bd744a136b4f60 (diff)
downloadrust-b32383ca901b01192e8110afab8421a20062caa4.tar.gz
rust-b32383ca901b01192e8110afab8421a20062caa4.zip
Rollup merge of #74643 - petrochenkov:noenvrerun, r=Mark-Simulacrum
build: Remove unnecessary `cargo:rerun-if-env-changed` annotations

... and a couple of related cleanups.

rustc and cargo now track the majority of env var dependencies automatically (https://github.com/rust-lang/cargo/pull/8421), so the annotations are no longer necessary.
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/build.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc_codegen_llvm/build.rs b/src/librustc_codegen_llvm/build.rs
deleted file mode 100644
index d1fc624c689..00000000000
--- a/src/librustc_codegen_llvm/build.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-fn main() {
-    println!("cargo:rerun-if-changed=build.rs");
-    println!("cargo:rerun-if-env-changed=CFG_VERSION");
-    println!("cargo:rerun-if-env-changed=CFG_PREFIX");
-    println!("cargo:rerun-if-env-changed=CFG_LLVM_ROOT");
-}