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 = [