From 239f90e6dcc64891e680bd37e880eaf035a340fc Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 19 Sep 2024 10:02:12 -0500 Subject: [PATCH] More C++ tests --- crates/tests/winrt/composable_client/build.rs | 1 + crates/tests/winrt/constructors_client/build.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/tests/winrt/composable_client/build.rs b/crates/tests/winrt/composable_client/build.rs index 7240b6ff57..a7248d7acb 100644 --- a/crates/tests/winrt/composable_client/build.rs +++ b/crates/tests/winrt/composable_client/build.rs @@ -4,6 +4,7 @@ fn main() { } println!("cargo:rerun-if-changed=src/interop.cpp"); + println!("cargo:rustc-link-lib=onecoreuap"); windows_bindgen::bindgen([ "--in", diff --git a/crates/tests/winrt/constructors_client/build.rs b/crates/tests/winrt/constructors_client/build.rs index ac4cef14f2..8fa150eb14 100644 --- a/crates/tests/winrt/constructors_client/build.rs +++ b/crates/tests/winrt/constructors_client/build.rs @@ -4,6 +4,7 @@ fn main() { } println!("cargo:rerun-if-changed=src/interop.cpp"); + println!("cargo:rustc-link-lib=onecoreuap"); windows_bindgen::bindgen([ "--in",