From dc9717cb1e7152de68ad694e0fda900e1ff70fe8 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 23 May 2024 16:38:37 -0500 Subject: [PATCH] EHsc --- .../samples/components/json_validator_winrt_client_cpp/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/samples/components/json_validator_winrt_client_cpp/build.rs b/crates/samples/components/json_validator_winrt_client_cpp/build.rs index f39067a2a5..6293927b07 100644 --- a/crates/samples/components/json_validator_winrt_client_cpp/build.rs +++ b/crates/samples/components/json_validator_winrt_client_cpp/build.rs @@ -18,6 +18,7 @@ fn main() { cc::Build::new() .cpp(true) .std("c++20") + .flag("/EHsc") .file("src/client.cpp") .compile("client"); }