@@ -140,7 +140,7 @@ pub struct RustcDocs {
140
140
impl Step for RustcDocs {
141
141
type Output = Option < GeneratedTarball > ;
142
142
const DEFAULT : bool = true ;
143
- const ONLY_HOSTS : bool = true ;
143
+ const IS_HOST : bool = true ;
144
144
145
145
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
146
146
let builder = run. builder ;
@@ -402,7 +402,7 @@ pub struct Rustc {
402
402
impl Step for Rustc {
403
403
type Output = GeneratedTarball ;
404
404
const DEFAULT : bool = true ;
405
- const ONLY_HOSTS : bool = true ;
405
+ const IS_HOST : bool = true ;
406
406
407
407
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
408
408
run. alias ( "rustc" )
@@ -794,7 +794,7 @@ pub struct RustcDev {
794
794
impl Step for RustcDev {
795
795
type Output = Option < GeneratedTarball > ;
796
796
const DEFAULT : bool = true ;
797
- const ONLY_HOSTS : bool = true ;
797
+ const IS_HOST : bool = true ;
798
798
799
799
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
800
800
run. alias ( "rustc-dev" )
@@ -1024,7 +1024,7 @@ impl Step for Src {
1024
1024
/// The output path of the src installer tarball
1025
1025
type Output = GeneratedTarball ;
1026
1026
const DEFAULT : bool = true ;
1027
- const ONLY_HOSTS : bool = true ;
1027
+ const IS_HOST : bool = true ;
1028
1028
1029
1029
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1030
1030
run. alias ( "rust-src" )
@@ -1085,7 +1085,7 @@ impl Step for PlainSourceTarball {
1085
1085
/// Produces the location of the tarball generated
1086
1086
type Output = GeneratedTarball ;
1087
1087
const DEFAULT : bool = true ;
1088
- const ONLY_HOSTS : bool = true ;
1088
+ const IS_HOST : bool = true ;
1089
1089
1090
1090
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1091
1091
let builder = run. builder ;
@@ -1233,7 +1233,7 @@ pub struct Cargo {
1233
1233
impl Step for Cargo {
1234
1234
type Output = Option < GeneratedTarball > ;
1235
1235
const DEFAULT : bool = true ;
1236
- const ONLY_HOSTS : bool = true ;
1236
+ const IS_HOST : bool = true ;
1237
1237
1238
1238
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1239
1239
let default = should_build_extended_tool ( run. builder , "cargo" ) ;
@@ -1287,7 +1287,7 @@ pub struct RustAnalyzer {
1287
1287
impl Step for RustAnalyzer {
1288
1288
type Output = Option < GeneratedTarball > ;
1289
1289
const DEFAULT : bool = true ;
1290
- const ONLY_HOSTS : bool = true ;
1290
+ const IS_HOST : bool = true ;
1291
1291
1292
1292
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1293
1293
let default = should_build_extended_tool ( run. builder , "rust-analyzer" ) ;
@@ -1330,7 +1330,7 @@ pub struct Clippy {
1330
1330
impl Step for Clippy {
1331
1331
type Output = Option < GeneratedTarball > ;
1332
1332
const DEFAULT : bool = true ;
1333
- const ONLY_HOSTS : bool = true ;
1333
+ const IS_HOST : bool = true ;
1334
1334
1335
1335
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1336
1336
let default = should_build_extended_tool ( run. builder , "clippy" ) ;
@@ -1378,7 +1378,7 @@ pub struct Miri {
1378
1378
impl Step for Miri {
1379
1379
type Output = Option < GeneratedTarball > ;
1380
1380
const DEFAULT : bool = true ;
1381
- const ONLY_HOSTS : bool = true ;
1381
+ const IS_HOST : bool = true ;
1382
1382
1383
1383
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1384
1384
let default = should_build_extended_tool ( run. builder , "miri" ) ;
@@ -1428,7 +1428,7 @@ pub struct CraneliftCodegenBackend {
1428
1428
impl Step for CraneliftCodegenBackend {
1429
1429
type Output = Option < GeneratedTarball > ;
1430
1430
const DEFAULT : bool = true ;
1431
- const ONLY_HOSTS : bool = true ;
1431
+ const IS_HOST : bool = true ;
1432
1432
1433
1433
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1434
1434
// We only want to build the cranelift backend in `x dist` if the backend was enabled
@@ -1519,7 +1519,7 @@ pub struct Rustfmt {
1519
1519
impl Step for Rustfmt {
1520
1520
type Output = Option < GeneratedTarball > ;
1521
1521
const DEFAULT : bool = true ;
1522
- const ONLY_HOSTS : bool = true ;
1522
+ const IS_HOST : bool = true ;
1523
1523
1524
1524
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1525
1525
let default = should_build_extended_tool ( run. builder , "rustfmt" ) ;
@@ -1564,7 +1564,7 @@ pub struct Extended {
1564
1564
impl Step for Extended {
1565
1565
type Output = ( ) ;
1566
1566
const DEFAULT : bool = true ;
1567
- const ONLY_HOSTS : bool = true ;
1567
+ const IS_HOST : bool = true ;
1568
1568
1569
1569
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1570
1570
let builder = run. builder ;
@@ -2301,7 +2301,7 @@ pub struct LlvmTools {
2301
2301
2302
2302
impl Step for LlvmTools {
2303
2303
type Output = Option < GeneratedTarball > ;
2304
- const ONLY_HOSTS : bool = true ;
2304
+ const IS_HOST : bool = true ;
2305
2305
const DEFAULT : bool = true ;
2306
2306
2307
2307
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
@@ -2406,7 +2406,7 @@ pub struct LlvmBitcodeLinker {
2406
2406
impl Step for LlvmBitcodeLinker {
2407
2407
type Output = Option < GeneratedTarball > ;
2408
2408
const DEFAULT : bool = true ;
2409
- const ONLY_HOSTS : bool = true ;
2409
+ const IS_HOST : bool = true ;
2410
2410
2411
2411
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2412
2412
let default = should_build_extended_tool ( run. builder , "llvm-bitcode-linker" ) ;
@@ -2458,7 +2458,7 @@ pub struct RustDev {
2458
2458
impl Step for RustDev {
2459
2459
type Output = Option < GeneratedTarball > ;
2460
2460
const DEFAULT : bool = true ;
2461
- const ONLY_HOSTS : bool = true ;
2461
+ const IS_HOST : bool = true ;
2462
2462
2463
2463
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2464
2464
run. alias ( "rust-dev" )
@@ -2561,7 +2561,7 @@ pub struct Bootstrap {
2561
2561
impl Step for Bootstrap {
2562
2562
type Output = Option < GeneratedTarball > ;
2563
2563
const DEFAULT : bool = false ;
2564
- const ONLY_HOSTS : bool = true ;
2564
+ const IS_HOST : bool = true ;
2565
2565
2566
2566
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2567
2567
run. alias ( "bootstrap" )
@@ -2601,7 +2601,7 @@ pub struct BuildManifest {
2601
2601
impl Step for BuildManifest {
2602
2602
type Output = GeneratedTarball ;
2603
2603
const DEFAULT : bool = false ;
2604
- const ONLY_HOSTS : bool = true ;
2604
+ const IS_HOST : bool = true ;
2605
2605
2606
2606
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2607
2607
run. alias ( "build-manifest" )
@@ -2633,7 +2633,7 @@ pub struct ReproducibleArtifacts {
2633
2633
impl Step for ReproducibleArtifacts {
2634
2634
type Output = Option < GeneratedTarball > ;
2635
2635
const DEFAULT : bool = true ;
2636
- const ONLY_HOSTS : bool = true ;
2636
+ const IS_HOST : bool = true ;
2637
2637
2638
2638
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2639
2639
run. alias ( "reproducible-artifacts" )
0 commit comments