mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +00:00
Disable unstable APIs for nightly releases
This commit is contained in:
parent
c086718947
commit
c9175dc0f1
1 changed files with 1 additions and 3 deletions
|
@ -63,9 +63,7 @@ fn dist_client(version: &str, release_tag: &str, target: &Target) -> Result<()>
|
||||||
r#""displayName": "rust-analyzer (nightly)""#,
|
r#""displayName": "rust-analyzer (nightly)""#,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if !nightly {
|
|
||||||
patch.replace(r#""enableProposedApi": true,"#, r#""#);
|
patch.replace(r#""enableProposedApi": true,"#, r#""#);
|
||||||
}
|
|
||||||
patch.commit()?;
|
patch.commit()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue