Skip to content

Commit d10b2c0

Browse files
committed
feat: update mimalloc to 2.1.9
1 parent cc1c72a commit d10b2c0

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
2-
name = "mimalloc"
2+
name = "mimalloc2"
33
version = "0.1.43"
44
authors = [
55
"Octavian Oncescu <[email protected]>",
66
"Vincent Rouillé <[email protected]>",
77
"Thom Chiovoloni <[email protected]>",
88
]
9-
edition = "2018"
9+
edition = "2021"
1010
repository = "https://github.com/purpleprotocol/mimalloc_rust"
1111
keywords = ["mimalloc", "allocator", "encrypted-heap", "performance"]
1212
categories = ["memory-management", "api-bindings"]
@@ -21,14 +21,14 @@ members = ["libmimalloc-sys", "libmimalloc-sys/sys-test"]
2121
travis-ci = { repository = "purpleprotocol/mimalloc_rust" }
2222

2323
[dependencies]
24-
libmimalloc-sys = { path = "libmimalloc-sys", version = "0.1.39", default-features = false }
24+
libmimalloc-sys2 = { path = "libmimalloc-sys", version = "0.1.39", default-features = false }
2525

2626
[features]
2727
default = []
28-
secure = ["libmimalloc-sys/secure"]
29-
override = ["libmimalloc-sys/override"]
30-
debug = ["libmimalloc-sys/debug"]
31-
debug_in_debug = ["libmimalloc-sys/debug_in_debug"]
32-
local_dynamic_tls = ["libmimalloc-sys/local_dynamic_tls"]
33-
no_thp = ["libmimalloc-sys/no_thp"]
34-
extended = ["libmimalloc-sys/extended"]
28+
secure = ["libmimalloc-sys2/secure"]
29+
override = ["libmimalloc-sys2/override"]
30+
debug = ["libmimalloc-sys2/debug"]
31+
debug_in_debug = ["libmimalloc-sys2/debug_in_debug"]
32+
local_dynamic_tls = ["libmimalloc-sys2/local_dynamic_tls"]
33+
no_thp = ["libmimalloc-sys2/no_thp"]
34+
extended = ["libmimalloc-sys2/extended"]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Mimalloc Rust
22

3+
Forked from https://github.com/purpleprotocol/mimalloc_rust
4+
35
[![Latest Version]][crates.io] [![Documentation]][docs.rs]
46

57
A drop-in global allocator wrapper around the [mimalloc](https://github.com/microsoft/mimalloc) allocator.
@@ -16,7 +18,7 @@ static GLOBAL: MiMalloc = MiMalloc;
1618

1719
## Requirements
1820

19-
A __C__ compiler is required for building [mimalloc](https://github.com/microsoft/mimalloc) with cargo.
21+
A **C** compiler is required for building [mimalloc](https://github.com/microsoft/mimalloc) with cargo.
2022

2123
## Usage with secure mode
2224

libmimalloc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "libmimalloc-sys"
2+
name = "libmimalloc-sys2"
33
version = "0.1.39"
44
authors = ["Octavian Oncescu <[email protected]>"]
55
edition = "2018"

libmimalloc-sys/c_src/mimalloc

Submodule mimalloc updated 188 files

libmimalloc-sys/sys-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT"
88
publish = false
99

1010
[dependencies]
11-
libmimalloc-sys = { path = "..", features = ["extended"] }
11+
libmimalloc-sys2 = { path = "..", features = ["extended"] }
1212
libc = "0.2"
1313

1414
[build-dependencies]

libmimalloc-sys/sys-test/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![allow(bad_style, clippy::all)]
22

3-
use libmimalloc_sys::*;
3+
use libmimalloc_sys2::*;
44

55
include!(concat!(env!("OUT_DIR"), "/all.rs"));

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! mimalloc = { version = "*", features = ["secure"] }
2626
//! ```
2727
28-
extern crate libmimalloc_sys as ffi;
28+
extern crate libmimalloc_sys2 as ffi;
2929

3030
#[cfg(feature = "extended")]
3131
mod extended;

0 commit comments

Comments
 (0)