From c189a87af128add84147feae4e16d4554a4dee44 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 14 Jan 2025 22:55:04 +0900 Subject: [PATCH] examples: Workaround for windows example build error See also https://github.com/microsoft/windows-rs/issues/3436 Part-of: --- examples/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 7a9d75811..b17a51b86 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -47,7 +47,7 @@ data-encoding = "2.0" [target.'cfg(windows)'.dependencies] windows = { version = "0.59", features=["Win32_Graphics_Direct3D11", "Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi", - "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct2D", + "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct2D", "Win32_Graphics_Gdi", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite", "Win32_Graphics_Imaging", "Win32_System_Com", "Foundation_Numerics"], optional = true }