mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 05:08:52 +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)""#,
|
||||
);
|
||||
}
|
||||
if !nightly {
|
||||
patch.replace(r#""enableProposedApi": true,"#, r#""#);
|
||||
}
|
||||
patch.replace(r#""enableProposedApi": true,"#, r#""#);
|
||||
patch.commit()?;
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue