mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Comment and include rust-analyzer.
This commit is contained in:
parent
601d24810e
commit
6aa79a34d8
@ -1072,6 +1072,12 @@ 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;
|
||||
assert!(builder.config.extended);
|
||||
@ -1171,6 +1177,9 @@ impl Step for Miri {
|
||||
}
|
||||
|
||||
fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
||||
// This prevents miri 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user