mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
fix: dont' misundentify nightly as stable in --version on Mac&Win
We used to set `--nightly` in CI, and only for linux. Let's detect this in xtask instead.
This commit is contained in:
parent
691c96e36a
commit
869ec5f97a
4 changed files with 18 additions and 28 deletions
|
@ -37,8 +37,7 @@ xflags::xflags! {
|
|||
optional --dry-run
|
||||
}
|
||||
cmd dist {
|
||||
optional --nightly
|
||||
optional --client version: String
|
||||
optional --client-patch-version version: String
|
||||
}
|
||||
cmd metrics {
|
||||
optional --dry-run
|
||||
|
@ -85,9 +84,6 @@ pub struct Install {
|
|||
pub jemalloc: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Lint;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct FuzzTests;
|
||||
|
||||
|
@ -106,8 +102,7 @@ pub struct Promote {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct Dist {
|
||||
pub nightly: bool,
|
||||
pub client: Option<String>,
|
||||
pub client_patch_version: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue