summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-06-28 12:28:01 -0700
committerJosh Stone <jistone@redhat.com>2022-06-28 12:28:01 -0700
commitc6f362a7c53c0f824e96eb8039baaa52dc4b2db0 (patch)
tree4b1994a5bdf93a0d8aea8b032b86297e8da4cfaf /src/bootstrap
parent00ebeb87ac87a492bd59ace6bd43d6ad1629ca4e (diff)
downloadrust-c6f362a7c53c0f824e96eb8039baaa52dc4b2db0.tar.gz
rust-c6f362a7c53c0f824e96eb8039baaa52dc4b2db0.zip
Let rust-analyzer ship on stable, non-preview
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/dist.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 8182d2bf8fb..74ec9cab5ca 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -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;