Skip to content

Commit 1ff3471

Browse files
committed
Fixed windows release builds
1 parent 5303304 commit 1ff3471

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libmimalloc-sys/build.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ fn main() {
3131
if cfg!(debug_assertions) {
3232
("./build/Debug", "mimalloc-static-debug")
3333
} else {
34-
("./build/Release", "mimalloc-static")
34+
if cfg!(feature = "secure") {
35+
("./build/Release", "mimalloc-static-secure")
36+
} else {
37+
("./build/Release", "mimalloc-static")
38+
}
3539
}
3640
} else {
3741
if cfg!(debug_assertions) {

0 commit comments

Comments
 (0)