We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2836ef commit 5878783Copy full SHA for 5878783
libmimalloc-sys/build.rs
@@ -21,6 +21,8 @@ fn main() {
21
cfg = cfg.define("mi_defines", "MI_DEBUG=0");
22
23
if cfg!(all(windows, target_env = "msvc")) {
24
+ cfg = cfg.define("CMAKE_SH", "CMAKE_SH-NOTFOUND");
25
+
26
// cc::get_compiler have /nologo /MD default flags that are cmake::Config
27
// defaults to. Those flags prevents mimalloc from building on windows
28
// extracted from default cmake configuration on windows
0 commit comments