about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-08-25 15:14:13 -0700
committerJosh Stone <jistone@redhat.com>2025-09-09 09:00:18 -0700
commitb630713bdf6fa2a00b66c7174bb147c40067c9d4 (patch)
tree4eea515b347e78c2887bf89c544e21533edc0a8f
parentfca6c02accb2a6c9a2979a3a01a2728c236bf9ab (diff)
downloadrust-b630713bdf6fa2a00b66c7174bb147c40067c9d4.tar.gz
rust-b630713bdf6fa2a00b66c7174bb147c40067c9d4.zip
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 c73d7ae1c60b7cc1779839f4e260d6e81929f1a9)
-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 0caeb328811..9050f4069e8 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![]),