bootstrap: vendor clippy_test_deps too

This internal crate explicitly separates itself from the `rustc`
workspace, but it is needed for `./x test clippy` to work, including its
dependencies when building from a vendored `rustc-src` tarball.

(cherry picked from commit c73d7ae1c6)
This commit is contained in:
Josh Stone 2025-08-25 15:14:13 -07:00
parent fca6c02acc
commit b630713bdf

View file

@ -19,6 +19,7 @@ pub const VENDOR_DIR: &str = "vendor";
pub fn default_paths_to_vendor(builder: &Builder<'_>) -> Vec<(PathBuf, Vec<&'static str>)> {
[
("src/tools/cargo/Cargo.toml", vec!["src/tools/cargo"]),
("src/tools/clippy/clippy_test_deps/Cargo.toml", vec![]),
("src/tools/rust-analyzer/Cargo.toml", vec![]),
("compiler/rustc_codegen_cranelift/Cargo.toml", vec![]),
("compiler/rustc_codegen_gcc/Cargo.toml", vec![]),