diff options
| author | Fuwn <[email protected]> | 2021-05-17 15:11:43 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-17 15:11:43 +0000 |
| commit | 668d2bb179d3d113f267eb693eec925f27af7fc6 (patch) | |
| tree | fa6e53b7ac108a8b7a7be4fa1effe64f1d195014 | |
| parent | fix(make): typo (diff) | |
| download | whirl-668d2bb179d3d113f267eb693eec925f27af7fc6.tar.xz whirl-668d2bb179d3d113f267eb693eec925f27af7fc6.zip | |
fix(whirl): define jemallocator as global allocator on unix
I have zero clue of this slipped through...
| -rw-r--r-- | whirl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/whirl/src/lib.rs b/whirl/src/lib.rs index e287d0e..49a75f5 100644 --- a/whirl/src/lib.rs +++ b/whirl/src/lib.rs @@ -25,6 +25,7 @@ extern crate serde_derive; static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(target_family = "unix")] +#[global_allocator] static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc; pub mod cli; |