Skip to content

Commit a7f8b2f

Browse files
committed
remove unnecessary uses of paths()
1 parent 8afe9ff commit a7f8b2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/bootstrap/src/core/build_steps

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3816,7 +3816,7 @@ impl Step for CodegenCranelift {
38163816
const IS_HOST: bool = true;
38173817

38183818
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
3819-
run.paths(&["compiler/rustc_codegen_cranelift"])
3819+
run.path("compiler/rustc_codegen_cranelift")
38203820
}
38213821

38223822
fn is_default_step(_builder: &Builder<'_>) -> bool {
@@ -3937,7 +3937,7 @@ impl Step for CodegenGCC {
39373937
const IS_HOST: bool = true;
39383938

39393939
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
3940-
run.paths(&["compiler/rustc_codegen_gcc"])
3940+
run.path("compiler/rustc_codegen_gcc")
39413941
}
39423942

39433943
fn is_default_step(_builder: &Builder<'_>) -> bool {

0 commit comments

Comments
 (0)