From 80392d697dd612c2f628e6116f92e2e25e145064 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 23 Feb 2023 13:25:11 -0600 Subject: [PATCH] Specifically exclude `Windows.Win32.Web.MsHtml` (#2348) --- crates/tools/sys/src/main.rs | 2 +- crates/tools/windows/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tools/sys/src/main.rs b/crates/tools/sys/src/main.rs index 95fb7694b6..cf9e8624a8 100644 --- a/crates/tools/sys/src/main.rs +++ b/crates/tools/sys/src/main.rs @@ -30,7 +30,7 @@ const EXCLUDE_NAMESPACES: [&str; 28] = [ "Windows.Win32.System.SideShow", "Windows.Win32.System.TransactionServer", "Windows.Win32.System.WinRT", - "Windows.Win32.Web", + "Windows.Win32.Web.MsHtml", "Windows.Win32.UI.Xaml", ]; diff --git a/crates/tools/windows/src/main.rs b/crates/tools/windows/src/main.rs index e3f016df02..6294b26b0e 100644 --- a/crates/tools/windows/src/main.rs +++ b/crates/tools/windows/src/main.rs @@ -2,7 +2,7 @@ use rayon::prelude::*; use std::io::prelude::*; /// Namespaces to exclude from code generation for the `windows` crate. -const EXCLUDE_NAMESPACES: [&str; 14] = ["Windows.AI.MachineLearning.Preview", "Windows.ApplicationModel.SocialInfo", "Windows.Devices.AllJoyn", "Windows.Devices.Perception", "Windows.Security.Authentication.Identity.Provider", "Windows.Services.Cortana", "Windows.System.Power.Diagnostics", "Windows.System.Preview", "Windows.UI.Xaml", "Windows.Win32.Interop", "Windows.Win32.System.Diagnostics.Debug.WebApp", "Windows.Win32.System.WinRT.Xaml", "Windows.Win32.Web", "Windows.Win32.UI.Xaml"]; +const EXCLUDE_NAMESPACES: [&str; 14] = ["Windows.AI.MachineLearning.Preview", "Windows.ApplicationModel.SocialInfo", "Windows.Devices.AllJoyn", "Windows.Devices.Perception", "Windows.Security.Authentication.Identity.Provider", "Windows.Services.Cortana", "Windows.System.Power.Diagnostics", "Windows.System.Preview", "Windows.UI.Xaml", "Windows.Win32.Interop", "Windows.Win32.System.Diagnostics.Debug.WebApp", "Windows.Win32.System.WinRT.Xaml", "Windows.Win32.Web.MsHtml", "Windows.Win32.UI.Xaml"]; fn main() { let mut rustfmt = true;