From 2a3663f60688e8978fe5bc8b0398489ab9cd754f Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Wed, 15 Mar 2017 13:02:18 +1300 Subject: 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 --- src/bootstrap/bin/rustc.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bootstrap/bin') 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()); -- cgit 1.4.1-3-g733a5