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-08-25 15:14:13 -0700
commitc73d7ae1c60b7cc1779839f4e260d6e81929f1a9 (patch)
tree09c77a1cd6856458d4a0c020456de83d2f31c466
parent54c581243c977c7662c949b5795c31147f8a60ed (diff)
downloadrust-c73d7ae1c60b7cc1779839f4e260d6e81929f1a9.tar.gz
rust-c73d7ae1c60b7cc1779839f4e260d6e81929f1a9.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.
-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![]),