about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-08-26 16:34:15 +0200
committerGitHub <noreply@github.com>2025-08-26 16:34:15 +0200
commit20a3e452a9284e9931a215c995a8040c3f25fb19 (patch)
tree0c348e60bba60d075dfb8b16232f4076e70f4973
parent2ac7fddec65acef7b5708d824d632a92c31ac8b3 (diff)
parentc73d7ae1c60b7cc1779839f4e260d6e81929f1a9 (diff)
downloadrust-20a3e452a9284e9931a215c995a8040c3f25fb19.tar.gz
rust-20a3e452a9284e9931a215c995a8040c3f25fb19.zip
Rollup merge of #145861 - cuviper:vendor-clippy, r=Kobzol
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.
-rw-r--r--src/bootstrap/src/core/build_steps/vendor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/vendor.rs b/src/bootstrap/src/core/build_steps/vendor.rs
index 7b860ceb943..0e9d4e7e32b 100644
--- a/src/bootstrap/src/core/build_steps/vendor.rs
+++ b/src/bootstrap/src/core/build_steps/vendor.rs
@@ -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![]),