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 bdb36d3 commit 725ddd4Copy full SHA for 725ddd4
libmimalloc-sys/build.rs
@@ -9,6 +9,10 @@ fn main() {
9
cfg = cfg.define("MI_SECURE", "OFF");
10
}
11
12
+ // Inject MI_DEBUG=0
13
+ // This set mi_option_verbose and mi_option_show_errors options to false.
14
+ cfg = cfg.define("mi_defines", "MI_DEBUG=0");
15
+
16
if cfg!(all(windows, target_env = "msvc")) {
17
// cc::get_compiler have /nologo /MD default flags that are cmake::Config
18
// defaults to. Those flags prevents mimalloc from building on windows
0 commit comments