Skip to content

Commit 7325d42

Browse files
committed
use default allocator
1 parent e7108e8 commit 7325d42

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed

Cargo.lock

Lines changed: 0 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ strum_macros = "0.24.3"
3333
serde_json = {version = "1.0.87", features = ["preserve_order"]}
3434
enum_dispatch = "0.3.8"
3535
serde = "1.0.147"
36-
mimalloc = { version = "0.1.30", default-features = false, optional = true }
3736
speedate = "0.8.1"
3837
ahash = "0.8.0"
3938
url = "2.3.1"
@@ -51,7 +50,7 @@ crate-type = ["cdylib", "rlib"]
5150
extension-module = ["pyo3/extension-module"]
5251
# required for cargo bench
5352
auto-initialize = ["pyo3/auto-initialize"]
54-
default = ["mimalloc", "mimalloc/local_dynamic_tls", "pyo3/generate-import-lib", "pyo3/num-bigint"]
53+
default = ["pyo3/generate-import-lib", "pyo3/num-bigint"]
5554

5655
[profile.release]
5756
lto = "fat"

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ extern crate core;
55

66
use pyo3::prelude::*;
77

8-
#[cfg(feature = "mimalloc")]
9-
#[global_allocator]
10-
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
11-
128
mod argument_markers;
139
mod build_tools;
1410
mod definitions;

0 commit comments

Comments
 (0)