Skip to content

Commit 1e93411

Browse files
committed
[DO NOT MERGE] bootstrap: skip r-a xtask tests
1 parent e1098a0 commit 1e93411

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,15 @@ impl Step for RustAnalyzer {
399399
// takes effect,
400400

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

0 commit comments

Comments
 (0)