diff --git a/app/buck2_test/Cargo.toml b/app/buck2_test/Cargo.toml index a5b78e7bb333d..e9c26edf277f6 100644 --- a/app/buck2_test/Cargo.toml +++ b/app/buck2_test/Cargo.toml @@ -54,3 +54,6 @@ libc = { workspace = true } [dev-dependencies] maplit = { workspace = true } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fbcode_build)"] }