about summary refs log tree commit diff
path: root/src/bootstrap/bin
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2017-03-15 13:02:18 +1300
committerNick Cameron <ncameron@mozilla.com>2017-03-15 21:21:20 +1300
commit2a3663f60688e8978fe5bc8b0398489ab9cd754f (patch)
tree537996c9a55028c78dd4b78fff2e295748dee39b /src/bootstrap/bin
parent979a9881ea1f113f8a384977eb1df5b01f3794b2 (diff)
downloadrust-2a3663f60688e8978fe5bc8b0398489ab9cd754f.tar.gz
rust-2a3663f60688e8978fe5bc8b0398489ab9cd754f.zip
Handle feature=rustbuild
Taken from https://github.com/rust-lang/rust/pull/40347/files

And update rls-span to a version with the rustbuild boilerplate
Diffstat (limited to 'src/bootstrap/bin')
-rw-r--r--src/bootstrap/bin/rustc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index a996240f616..5e6f3e9e6cc 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -79,6 +79,7 @@ fn main() {
     cmd.args(&args)
         .arg("--cfg")
         .arg(format!("stage{}", stage))
+        .arg("--cfg").arg("rustbuild")
         .env(bootstrap::util::dylib_path_var(),
              env::join_paths(&dylib_path).unwrap());