From bb4e556cbc832f8ea6c4509c9a09d53d07b30671 Mon Sep 17 00:00:00 2001
From: Chris Denton <chris@chrisdenton.dev>
Date: Tue, 21 May 2024 18:40:41 +0000
Subject: [PATCH] Add lints table to test crates

---
 crates/tests/calling_convention/Cargo.toml  | 3 +++
 crates/tests/debugger_visualizer/Cargo.toml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/crates/tests/calling_convention/Cargo.toml b/crates/tests/calling_convention/Cargo.toml
index 875d6ac4cf..fa4dfde73e 100644
--- a/crates/tests/calling_convention/Cargo.toml
+++ b/crates/tests/calling_convention/Cargo.toml
@@ -4,6 +4,9 @@ version = "0.0.0"
 edition = "2021"
 publish = false
 
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_raw_dylib)'] }
+
 [dependencies.windows]
 path = "../../libs/windows"
 features = [
diff --git a/crates/tests/debugger_visualizer/Cargo.toml b/crates/tests/debugger_visualizer/Cargo.toml
index 25d173cb36..c5b7f64d5a 100644
--- a/crates/tests/debugger_visualizer/Cargo.toml
+++ b/crates/tests/debugger_visualizer/Cargo.toml
@@ -4,6 +4,9 @@ version = "0.0.0"
 edition = "2021"
 publish = false
 
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_debugger_visualizer)'] }
+
 [dependencies.windows]
 path = "../../libs/windows"
 features = [