Skip to content

Commit 35709c2

Browse files
committed
Update libmimamlloc-sys
1 parent 287da5b commit 35709c2

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ travis-ci = { repository = "purpleprotocol/mimalloc_rust" }
2121

2222
[dependencies]
2323
libc = "0.2"
24-
libmimalloc-sys = { path = "libmimalloc-sys", version = "0.1.4" }
24+
libmimalloc-sys = { path = "libmimalloc-sys", version = "0.1.6" }
2525

2626
[features]
2727
default = ["secure"]

libmimalloc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libmimalloc-sys"
3-
version = "0.1.4"
3+
version = "0.1.6"
44
authors = ["Octavian Oncescu <octavonce@gmail.com>"]
55
edition = "2018"
66
repository = "https://github.com/purpleprotocol/mimalloc_rust/tree/master/libmimalloc-sys"

libmimalloc-sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ fn main() {
44
let mut cfg = &mut Config::new("c_src/mimalloc");
55

66
cfg = cfg.define("MI_OVERRIDE", "OFF");
7+
cfg = cfg.define("MI_SECURE", "OFF");
78

89
if cfg!(feature = "secure") {
9-
cfg = cfg.define("MI_SECURE", "OFF");
10+
cfg = cfg.define("MI_SECURE", "ON");
1011
}
1112

1213
// Inject MI_DEBUG=0

libmimalloc-sys/c_src/mimalloc

0 commit comments

Comments
 (0)