Skip to content

Commit 69cbeaf

Browse files
committed
Set up clippy.toml configuration file for buck
1 parent 83e1608 commit 69cbeaf

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

BUCK

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export_file(
2+
name = ".clippy.toml",
3+
visibility = ["toolchains//:rust"],
4+
)
5+
16
rust_library(
27
name = "cxx",
38
srcs = glob(["src/**/*.rs"]),

tools/buck/toolchains/BUCK

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ system_python_bootstrap_toolchain(
2020

2121
system_rust_toolchain(
2222
name = "rust",
23+
clippy_toml = "root//:.clippy.toml",
2324
default_edition = None,
2425
visibility = ["PUBLIC"],
2526
)

0 commit comments

Comments
 (0)