about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-24 20:15:21 +0000
committerbors <bors@rust-lang.org>2017-07-24 20:15:21 +0000
commit598eddf4f785df12e79fba5a996f153dc6fdb7e0 (patch)
tree3fb84fd0a941dcfa2aaf1d627259301732b0ec42 /src/libsyntax
parentb80e946101dd49dd1864b6229f9430c55036c7ce (diff)
parent0bb4291295b672d53edf816b5bde2d78c110d654 (diff)
downloadrust-598eddf4f785df12e79fba5a996f153dc6fdb7e0.tar.gz
rust-598eddf4f785df12e79fba5a996f153dc6fdb7e0.zip
Auto merge of #43454 - Mark-Simulacrum:rollup, r=Mark-Simulacrum
Rollup of 11 pull requests

- Successful merges: #43297, #43322, #43342, #43361, #43366, #43374, #43379, #43401, #43421, #43428, #43446
- Failed merges:
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/build.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libsyntax/build.rs b/src/libsyntax/build.rs
new file mode 100644
index 00000000000..d39340c3326
--- /dev/null
+++ b/src/libsyntax/build.rs
@@ -0,0 +1,15 @@
+// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+fn main() {
+    println!("cargo:rerun-if-changed=build.rs");
+    println!("cargo:rerun-if-env-changed=CFG_RELEASE_CHANNEL");
+    println!("cargo:rerun-if-env-changed=CFG_DISABLE_UNSTABLE_FEATURES");
+}