about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-10 15:24:42 +0200
committerGitHub <noreply@github.com>2023-06-10 15:24:42 +0200
commit04e41dda8395879c2adcc841517d7fa3cdce0d82 (patch)
tree29fc11fe97aeba26a4cd73a0a22bfb995bc30854 /tests/rustdoc-js-std/parser-slice-array.js
parent4b71d79c972a605959b0a7c82b323fbd8562f070 (diff)
parentc73c5dd35fa8171ba1634bf9111073706ccf993a (diff)
downloadrust-04e41dda8395879c2adcc841517d7fa3cdce0d82.tar.gz
rust-04e41dda8395879c2adcc841517d7fa3cdce0d82.zip
Rollup merge of #112297 - jyn514:remove-exclude-kind, r=Mark-Simulacrum
bootstrap: Disallow `--exclude test::std`

Use the top-level Kind to determine whether Steps are excluded.

Previously, this would use the `Kind` passed to `--exclude` (and not do any filtering at all if no kind was passed).
That meant that `x test linkchecker --exclude std` would fail - you had to explicitly say `--exclude test::std`.

Change bootstrap to use the top-level Kind instead, which does the right thing automatically.
Note that this breaks things like `x test --exclude doc::std`, but I'm not sure why you'd ever want to do that.

There's a lot of churn here, but the 1-line change in the first commit is the actual behavior change, the rest is just cleanup.

Fixes https://github.com/rust-lang/rust/issues/103201. Note that this effectively reverts most of https://github.com/rust-lang/rust/pull/91965.

cc `@pietroalbini`
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions