Skip to content

Commit

Permalink
Specifically exclude Windows.Win32.Web.MsHtml (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Feb 23, 2023
1 parent 84c8649 commit 80392d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/tools/sys/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
];

Expand Down
2 changes: 1 addition & 1 deletion crates/tools/windows/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 80392d6

Please sign in to comment.