Skip to content

Commit 5e9431a

Browse files
committed
Auto merge of #44176 - nrc:update-rls, r=alexcrichton
Update rls And expose the `CFG_VERSION` env var to tools so they can determine the version of Rust. This gets the RLS back on master and so completes the PR dance for the generators PR. r? @alexcrichton
2 parents 6f66730 + 5eb478a commit 5e9431a

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

src/Cargo.lock

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

src/bootstrap/tool.rs

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ fn prepare_tool_cargo(
120120
}
121121

122122
cargo.env("CFG_RELEASE_CHANNEL", &build.config.channel);
123+
cargo.env("CFG_VERSION", build.rust_version());
123124

124125
let info = GitInfo::new(&build.config, &dir);
125126
if let Some(sha) = info.sha() {

src/tools/rls

Submodule rls updated from 144ce17 to 303671e

0 commit comments

Comments
 (0)