diff options
| author | bors <bors@rust-lang.org> | 2022-06-10 23:35:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-10 23:35:38 +0000 |
| commit | ba329913fa33c29d4ccabf46998d3a0cfac57b0c (patch) | |
| tree | 94e89bca0d087530da1130690f6dda4fb0d643ef /xtask | |
| parent | 9ef01d0895bb1fef141d9c781519ca03f94c5e85 (diff) | |
| parent | a2a3ea86eaafdc3bb6287e836a42deadcd02637b (diff) | |
Auto merge of #12449 - Veykril:version, r=Veykril
Bring the version command output in line with other rust tools Inspired by how cargo handles it Fixes https://github.com/rust-lang/rust-analyzer/issues/12280 
Diffstat (limited to 'xtask')
| -rw-r--r-- | xtask/src/dist.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 2ea452377ee..c82867d3b4d 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -72,7 +72,8 @@ fn dist_client( } fn dist_server(sh: &Shell, release_channel: &str, target: &Target) -> anyhow::Result<()> { - let _e = sh.push_env("RUST_ANALYZER_CHANNEL", release_channel); + let _e = sh.push_env("CFG_RELEASE_CHANNEL", release_channel); + let _e = sh.push_env("CFG_RELEASE", "0.0.0"); let _e = sh.push_env("CARGO_PROFILE_RELEASE_LTO", "thin"); // Uncomment to enable debug info for releases. Note that: |
