We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44c72c7 + 7b45056 commit eff2109Copy full SHA for eff2109
libmimalloc-sys/build.rs
@@ -11,6 +11,10 @@ fn main() {
11
let target_family = env::var("CARGO_CFG_TARGET_FAMILY").expect("target_family not defined!");
12
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").expect("target_arch not defined!");
13
14
+ if target_family != "windows" {
15
+ build.flag("-Wno-error=date-time");
16
+ }
17
+
18
if env::var_os("CARGO_FEATURE_OVERRIDE").is_some() {
19
// Overriding malloc is only available on windows in shared mode, but we
20
// only ever build a static lib.
0 commit comments