mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Let rust-analyzer ship on stable, non-preview
This commit is contained in:
parent
00ebeb87ac
commit
c6f362a7c5
@ -1044,12 +1044,6 @@ impl Step for RustAnalyzer {
|
||||
}
|
||||
|
||||
fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
||||
// This prevents rust-analyzer from being built for "dist" or "install"
|
||||
// on the stable/beta channels. It is a nightly-only tool and should
|
||||
// not be included.
|
||||
if !builder.build.unstable_features() {
|
||||
return None;
|
||||
}
|
||||
let compiler = self.compiler;
|
||||
let target = self.target;
|
||||
|
||||
|
@ -184,7 +184,7 @@ static PKG_INSTALLERS: &[&str] = &["x86_64-apple-darwin", "aarch64-apple-darwin"
|
||||
|
||||
static MINGW: &[&str] = &["i686-pc-windows-gnu", "x86_64-pc-windows-gnu"];
|
||||
|
||||
static NIGHTLY_ONLY_COMPONENTS: &[&str] = &["miri-preview", "rust-analyzer-preview"];
|
||||
static NIGHTLY_ONLY_COMPONENTS: &[&str] = &["miri-preview"];
|
||||
|
||||
macro_rules! t {
|
||||
($e:expr) => {
|
||||
@ -403,6 +403,7 @@ impl Builder {
|
||||
rename("rustfmt", "rustfmt-preview");
|
||||
rename("clippy", "clippy-preview");
|
||||
rename("miri", "miri-preview");
|
||||
rename("rust-analyzer", "rust-analyzer-preview");
|
||||
}
|
||||
|
||||
fn rust_package(&mut self, manifest: &Manifest) -> Package {
|
||||
|
Loading…
Reference in New Issue
Block a user