Skip to content

Commit 95c651d

Browse files
committed
Remove ONLY_HOSTS value overrides that just set the default value and had no comment
1 parent d9dba3a commit 95c651d

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
@@ -563,7 +563,6 @@ impl Miri {
563563

564564
impl Step for Miri {
565565
type Output = ();
566-
const ONLY_HOSTS: bool = false;
567566

568567
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
569568
run.path("src/tools/miri")
@@ -682,7 +681,6 @@ pub struct CargoMiri {
682681

683682
impl Step for CargoMiri {
684683
type Output = ();
685-
const ONLY_HOSTS: bool = false;
686684

687685
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
688686
run.path("src/tools/miri/cargo-miri")
@@ -1605,7 +1603,6 @@ pub struct MirOpt {
16051603
impl Step for MirOpt {
16061604
type Output = ();
16071605
const DEFAULT: bool = true;
1608-
const ONLY_HOSTS: bool = false;
16091606

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

0 commit comments

Comments
 (0)