pw_toolchain: Add clippy-driver to rust toolchains

Bug: 268087116
Change-Id: I1c7bfae3ad0cbc0739833bee922b61c81b5de724
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/217211
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Pigweed-Auto-Submit: Erik Gilling <konkers@google.com>
This commit is contained in:
Erik Gilling 2024-06-20 21:55:31 +00:00 committed by CQ Bot Account
parent 1d9d180c93
commit d65c4f2ea2

View File

@ -188,6 +188,7 @@ def _pw_rust_toolchain(
rust_toolchain(
name = "{}_rust_toolchain".format(name),
binary_ext = "",
clippy_driver = "{}//:bin/clippy-driver".format(toolchain_repo),
default_edition = "2021",
dylib_ext = dylib_ext,
exec_compatible_with = exec_compatible_with,