about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-04-29 10:39:28 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-05-10 23:41:19 -0700
commit8d65591cf249a64bffa14ed49cb196af4eabac3c (patch)
tree45a17a4c8bc538307cd7072ddfd7537146ed4bd3 /src/libcore
parent80ec1b9f1040fba67846924234167feeb24d1f68 (diff)
downloadrust-8d65591cf249a64bffa14ed49cb196af4eabac3c.tar.gz
rust-8d65591cf249a64bffa14ed49cb196af4eabac3c.zip
rustbuild: Tighten dependencies of build scripts
Ensure that `rerun-if-changed` is printed for all build scripts to ensure that
they've all got the right list of dependencies.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/build.rs b/src/libcore/build.rs
index a991ac0de1a..255a367e58b 100644
--- a/src/libcore/build.rs
+++ b/src/libcore/build.rs
@@ -8,7 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![deny(warnings)]
+
 fn main() {
     // Remove this whenever snapshots and rustbuild nightlies are synced.
     println!("cargo:rustc-cfg=cargobuild");
+    println!("cargo:rerun-if-changed=build.rs")
 }