From 5ec39d7baa832b4e7edae53dd4c25ea49bffafbd Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Wed, 4 Sep 2024 18:35:25 -0400 Subject: [PATCH] chore(benches): add `tracy` to `lints.rust.unexpected_cfgs.check-cfg` --- benches/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 82207d51059..ba47bc1b6a5 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -21,6 +21,11 @@ path = "benches/root.rs" # tracy = ["dep:tracy-client", "profiling/profile-with-tracy"] # superluminal = ["profiling/profile-with-superluminal"] +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("tracy"))', +] } + [dependencies] bincode.workspace = true bytemuck.workspace = true