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 {
10721072 }
10731073
10741074 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+ }
10751081 let compiler = self . compiler ;
10761082 let target = self . target ;
10771083 assert ! ( builder. config. extended) ;
@@ -1171,6 +1177,9 @@ impl Step for Miri {
11711177 }
11721178
11731179 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.
11741183 if !builder. build . unstable_features ( ) {
11751184 return None ;
11761185 }
You can’t perform that action at this time.
0 commit comments