Disable unstable APIs for nightly releases

This commit is contained in:
Laurențiu Nicola 2021-12-22 09:20:46 +02:00
parent c086718947
commit c9175dc0f1

View file

@ -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.commit()?;
Ok(())