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
This commit is contained in:
commit
5e9431a6f5
3 changed files with 14 additions and 8 deletions
|
|
@ -120,6 +120,7 @@ fn prepare_tool_cargo(
|
|||
}
|
||||
|
||||
cargo.env("CFG_RELEASE_CHANNEL", &build.config.channel);
|
||||
cargo.env("CFG_VERSION", build.rust_version());
|
||||
|
||||
let info = GitInfo::new(&build.config, &dir);
|
||||
if let Some(sha) = info.sha() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue