Skip to content

Commit 9c47102

Browse files
author
reigadegr
committed
Fix mimalloc build failure with musl and release mode
1 parent 44c72c7 commit 9c47102

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libmimalloc-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ fn main() {
66
build.include("c_src/mimalloc/include");
77
build.include("c_src/mimalloc/src");
88
build.file("c_src/mimalloc/src/static.c");
9+
build.flag("-Wno-error=date-time");
910

1011
let target_os = env::var("CARGO_CFG_TARGET_OS").expect("target_os not defined!");
1112
let target_family = env::var("CARGO_CFG_TARGET_FAMILY").expect("target_family not defined!");

0 commit comments

Comments
 (0)