diff --git a/Cargo.toml b/Cargo.toml index 0babf1a2aa..10c6842097 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,4 @@ exclude = [ rust_2018_idioms = "warn" unused_qualifications = "warn" missing_docs = "warn" +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_raw_dylib, windows_debugger_visualizer)'] } diff --git a/crates/libs/core/src/lib.rs b/crates/libs/core/src/lib.rs index 70d97d9c52..756c3637a1 100644 --- a/crates/libs/core/src/lib.rs +++ b/crates/libs/core/src/lib.rs @@ -3,7 +3,7 @@ Learn more about Rust for Windows here: */ -#![allow(unexpected_cfgs)] #![cfg_attr( windows_debugger_visualizer, debugger_visualizer(natvis_file = "../.natvis") diff --git a/crates/libs/targets/src/lib.rs b/crates/libs/targets/src/lib.rs index 205cc94ce9..e4751989f1 100644 --- a/crates/libs/targets/src/lib.rs +++ b/crates/libs/targets/src/lib.rs @@ -3,7 +3,6 @@ Learn more about Rust for Windows here: