Skip to content

Commit 7c4ca14

Browse files
committed
[DO NOT MERGE] bootstrap: skip r-a xtask tests
1 parent 221747f commit 7c4ca14

File tree

1 file changed

+9
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+9
-0
lines changed

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

+9
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,15 @@ impl Step for RustAnalyzer {
400400
// takes effect,
401401

402402
cargo.add_rustc_lib_path(builder);
403+
404+
// NOTE: we need to skip `src/tools/rust-analyzer/xtask` as they seem to exercise rustup /
405+
// stable rustfmt.
406+
//
407+
// NOTE: you can only skip a specific workspace package via `--skip=...` if you *also*
408+
// specify `--workspace`.
409+
cargo.arg("--workspace");
410+
cargo.arg("--exclude=xtask");
411+
403412
run_cargo_test(
404413
cargo,
405414
&[

0 commit comments

Comments
 (0)