tidy: Detect outdated workspaces in workspace list#149417
tidy: Detect outdated workspaces in workspace list#149417bors merged 1 commit intorust-lang:mainfrom
Conversation
|
The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging. |
|
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
7e4f2b3 to
c906b2a
Compare
This comment has been minimized.
This comment has been minimized.
src/tools/tidy/src/deps.rs
Outdated
| if path == "." { root.to_path_buf() } else { t!(root.join(path).canonicalize()) }; | ||
| let canonicalized_root_real = t!(metadata.workspace_root.canonicalize()); | ||
| if canonicalized_root_real != canonicalized_root { | ||
| check.error(format!("{path} is part of another workspace, remove from `WORKSPACES` ({WORKSPACE_LOCATION})")); |
There was a problem hiding this comment.
We do have a check somewhere that we're covering all workspaces, right? Or is that missing?
There was a problem hiding this comment.
There is no such check. And in fact we don't cover all workspaces. There are a bunch of workspaces that are neither used by x.py nor vendored. All workspaces that aren't vendored can't be linted by tidy without breaking offline builds.
There was a problem hiding this comment.
Ack. Yeah, I guess that makes sense. Might be good to try to find a way to at least check those used by x.py, but not sure how we'd actually accomplish that in a useful way.
|
@bors r+ |
…Mark-Simulacrum tidy: Detect outdated workspaces in workspace list Detects the case in rust-lang#149415 (will pass CI once that lands).
…Mark-Simulacrum tidy: Detect outdated workspaces in workspace list Detects the case in rust-lang#149415 (will pass CI once that lands).
Rollup of 12 pull requests Successful merges: - #147602 (Deduplicate higher-ranked lifetime capture errors in impl Trait) - #147725 (Remove -Zoom=panic) - #148294 (callconv: fix mips64 aggregate argument passing for C FFI) - #148491 ( Correctly provide suggestions when encountering `async fn` with a `dyn Trait` return type) - #149417 (tidy: Detect outdated workspaces in workspace list) - #149458 (Run clippy on cg_gcc in CI) - #149679 (Restrict spe_acc to PowerPC SPE targets) - #149781 (Don't suggest wrapping attr in unsafe if it may come from proc macro) - #149795 (Use `let`...`else` instead of `match foo { ... _ => return };` and `if let ... else return` in std) - #149816 (Make typo in field and name suggestions verbose) - #149824 (Add a regression test for issue 145748) - #149826 (compiletest: tidy up `adb_path`/`adb_test_dir` handling) r? `@ghost` `@rustbot` modify labels: rollup
|
@bors r- |
c906b2a to
8143abc
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors try jobs=x86_64-msvc-2 |
tidy: Detect outdated workspaces in workspace list try-job: x86_64-msvc-2
This comment has been minimized.
This comment has been minimized.
tidy: Detect outdated workspaces in workspace list try-job: x86_64-msvc-2
|
Hmm, |
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 486433f failed: CI. Failed jobs:
|
1d7d030 to
4e51a8d
Compare
|
@bors try jobs=x86_64-msvc-2 |
This comment has been minimized.
This comment has been minimized.
tidy: Detect outdated workspaces in workspace list try-job: x86_64-msvc-2
|
@rustbot ready |
|
@bors r+ |
…Mark-Simulacrum tidy: Detect outdated workspaces in workspace list Detects the case in rust-lang#149415 (will pass CI once that lands).
…Mark-Simulacrum tidy: Detect outdated workspaces in workspace list Detects the case in rust-lang#149415 (will pass CI once that lands).
Rollup of 8 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149272 (Fix vec iter zst alignment) - #149417 (tidy: Detect outdated workspaces in workspace list) - #149437 (Fix trailing newline in JUnit formatter) - #149773 (fix va_list test by adding a llvmir signext check) - #149894 (Update to mdbook 0.5) - #149955 (Fix typo in armv7a-vex-v5 documentation) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 8 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149272 (Fix vec iter zst alignment) - #149417 (tidy: Detect outdated workspaces in workspace list) - #149773 (fix va_list test by adding a llvmir signext check) - #149894 (Update to mdbook 0.5) - #149955 (Fix typo in armv7a-vex-v5 documentation) - #149972 (Enable to ping LoongArch group via triagebot) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 8 pull requests Successful merges: - rust-lang/rust#148755 (Constify `DropGuard::dismiss` and trait impls) - rust-lang/rust#148825 (Add SystemTime::{MIN, MAX}) - rust-lang/rust#149272 (Fix vec iter zst alignment) - rust-lang/rust#149417 (tidy: Detect outdated workspaces in workspace list) - rust-lang/rust#149773 (fix va_list test by adding a llvmir signext check) - rust-lang/rust#149894 (Update to mdbook 0.5) - rust-lang/rust#149955 (Fix typo in armv7a-vex-v5 documentation) - rust-lang/rust#149972 (Enable to ping LoongArch group via triagebot) r? `@ghost` `@rustbot` modify labels: rollup
Detects the case in #149415 (will pass CI once that lands).