Skip to content

Commit 2a3663f

Browse files
committed
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
1 parent 979a988 commit 2a3663f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bootstrap/bin/rustc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ fn main() {
7979
cmd.args(&args)
8080
.arg("--cfg")
8181
.arg(format!("stage{}", stage))
82+
.arg("--cfg").arg("rustbuild")
8283
.env(bootstrap::util::dylib_path_var(),
8384
env::join_paths(&dylib_path).unwrap());
8485

0 commit comments

Comments
 (0)