Skip to content

Commit 816eabc

Browse files
committed
Try again
1 parent 2816b6e commit 816eabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snmalloc-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ fn configure_platform(config: &mut BuildConfig) {
355355
println!("cargo:rustc-link-arg=/LTCG");
356356
}
357357

358-
config.builder.define("CMAKE_CXX_FLAGS_DEBUG", "/EHsc");
358+
config.builder.define("CMAKE_CXX_FLAGS_DEBUG", "/D_HAS_EXCEPTIONS=0");
359359

360360
config.builder
361361
.define("CMAKE_CXX_FLAGS_RELEASE", "/O2 /Ob2 /DNDEBUG /EHsc")

0 commit comments

Comments
 (0)