Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Xaml interop namespace #2008

Merged
merged 1 commit into from Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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