Skip to content

Commit

Permalink
Remove Xaml interop namespace (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Sep 6, 2022
1 parent 4097440 commit 78a7cc1
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1,848 deletions.
1 change: 0 additions & 1 deletion crates/libs/sys/Cargo.toml
Expand Up @@ -341,7 +341,6 @@ Win32_System_WinRT_Pdf = ["Win32_System_WinRT"]
Win32_System_WinRT_Printing = ["Win32_System_WinRT"]
Win32_System_WinRT_Shell = ["Win32_System_WinRT"]
Win32_System_WinRT_Storage = ["Win32_System_WinRT"]
Win32_System_WinRT_Xaml = ["Win32_System_WinRT"]
Win32_System_WindowsProgramming = ["Win32_System"]
Win32_System_WindowsSync = ["Win32_System"]
Win32_System_Wmi = ["Win32_System"]
Expand Down
36 changes: 0 additions & 36 deletions crates/libs/sys/src/Windows/Win32/System/WinRT/Xaml/mod.rs

This file was deleted.

2 changes: 0 additions & 2 deletions crates/libs/sys/src/Windows/Win32/System/WinRT/mod.rs
Expand Up @@ -26,8 +26,6 @@ pub mod Printing;
pub mod Shell;
#[cfg(feature = "Win32_System_WinRT_Storage")]
pub mod Storage;
#[cfg(feature = "Win32_System_WinRT_Xaml")]
pub mod Xaml;
#[cfg_attr(windows, link(name = "windows"))]
extern "cdecl" {
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/windows/Cargo.toml
Expand Up @@ -691,7 +691,6 @@ Win32_System_WinRT_Pdf = ["Win32_System_WinRT"]
Win32_System_WinRT_Printing = ["Win32_System_WinRT"]
Win32_System_WinRT_Shell = ["Win32_System_WinRT"]
Win32_System_WinRT_Storage = ["Win32_System_WinRT"]
Win32_System_WinRT_Xaml = ["Win32_System_WinRT"]
Win32_System_WindowsProgramming = ["Win32_System"]
Win32_System_WindowsSync = ["Win32_System"]
Win32_System_Wmi = ["Win32_System"]
Expand Down
596 changes: 0 additions & 596 deletions crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/impl.rs

This file was deleted.

1,209 changes: 0 additions & 1,209 deletions crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/mod.rs

This file was deleted.

2 changes: 0 additions & 2 deletions crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs
Expand Up @@ -26,8 +26,6 @@ pub mod Printing;
pub mod Shell;
#[cfg(feature = "Win32_System_WinRT_Storage")]
pub mod Storage;
#[cfg(feature = "Win32_System_WinRT_Xaml")]
pub mod Xaml;
#[doc = "*Required features: `\"Win32_System_WinRT\"`*"]
#[inline]
pub unsafe fn CreateControlInput<T>() -> ::windows::core::Result<T>
Expand Down
2 changes: 1 addition & 1 deletion crates/tools/lib/src/lib.rs
Expand Up @@ -2,7 +2,7 @@ use std::collections::*;
use std::io::*;

/// Namespaces to exclude from code generation for the `windows` and `windows-sys` crates.
pub const EXCLUDE_NAMESPACES: [&str; 4] = ["Windows.UI.Xaml", "Windows.Win32.Interop", "Windows.Win32.System.Diagnostics.Debug.WebApp", "Windows.Win32.Web"];
pub const EXCLUDE_NAMESPACES: [&str; 5] = ["Windows.UI.Xaml", "Windows.Win32.System.WinRT.Xaml", "Windows.Win32.Interop", "Windows.Win32.System.Diagnostics.Debug.WebApp", "Windows.Win32.Web"];

/// Formats the token string
pub fn format(namespace: &str, tokens: &mut String, use_rustfmt: bool) {
Expand Down

0 comments on commit 78a7cc1

Please sign in to comment.