File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1072,6 +1072,12 @@ impl Step for RustAnalyzer {
1072
1072
}
1073
1073
1074
1074
fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
1075
+ // This prevents rust-analyzer from being built for "dist" or "install"
1076
+ // on the stable/beta channels. It is a nightly-only tool and should
1077
+ // not be included.
1078
+ if !builder.build.unstable_features() {
1079
+ return None;
1080
+ }
1075
1081
let compiler = self.compiler;
1076
1082
let target = self.target;
1077
1083
assert!(builder.config.extended);
@@ -1171,6 +1177,9 @@ impl Step for Miri {
1171
1177
}
1172
1178
1173
1179
fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
1180
+ // This prevents miri from being built for "dist" or "install"
1181
+ // on the stable/beta channels. It is a nightly-only tool and should
1182
+ // not be included.
1174
1183
if !builder.build.unstable_features() {
1175
1184
return None;
1176
1185
}
You can’t perform that action at this time.
0 commit comments