Skip to content

Commit f382d54

Browse files
committed
Remove ONLY_HOSTS value overrides that just set the default value and had no comment
1 parent 30017c3 commit f382d54

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/bootstrap/src/core/build_steps/run.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ pub struct Miri {
107107

108108
impl Step for Miri {
109109
type Output = ();
110-
const ONLY_HOSTS: bool = false;
111110

112111
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
113112
run.path("src/tools/miri")

src/bootstrap/src/core/build_steps/synthetic_targets.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub(crate) struct MirOptPanicAbortSyntheticTarget {
2121
impl Step for MirOptPanicAbortSyntheticTarget {
2222
type Output = TargetSelection;
2323
const DEFAULT: bool = true;
24-
const ONLY_HOSTS: bool = false;
2524

2625
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
2726
run.never()

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@ impl Miri {
561561

562562
impl Step for Miri {
563563
type Output = ();
564-
const ONLY_HOSTS: bool = false;
565564

566565
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
567566
run.path("src/tools/miri")
@@ -681,7 +680,6 @@ pub struct CargoMiri {
681680

682681
impl Step for CargoMiri {
683682
type Output = ();
684-
const ONLY_HOSTS: bool = false;
685683

686684
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
687685
run.path("src/tools/miri/cargo-miri")
@@ -1599,7 +1597,6 @@ pub struct MirOpt {
15991597
impl Step for MirOpt {
16001598
type Output = ();
16011599
const DEFAULT: bool = true;
1602-
const ONLY_HOSTS: bool = false;
16031600

16041601
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
16051602
run.suite_path("tests/mir-opt")

0 commit comments

Comments
 (0)