Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 9 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /