Skip to content

Commit 5303304

Browse files
committed
Fixed release builds
1 parent 98ff202 commit 5303304

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mimalloc"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
authors = [
55
"Octavian Oncescu <octavonce@gmail.com>",
66
"Vincent Rouillé <vincent@speedy37.fr>",

libmimalloc-sys/build.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ fn main() {
3636
} else {
3737
if cfg!(debug_assertions) {
3838
("./build", "mimalloc-debug")
39-
} else {
40-
("./build", "mimalloc")
39+
} else {
40+
if cfg!(feature = "secure") {
41+
("./build", "mimalloc-secure")
42+
} else {
43+
("./build", "mimalloc")
44+
}
4145
}
4246
};
4347

0 commit comments

Comments
 (0)