mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
remove jemalloc support
It's no longer being developed and it is very very annoying to maintain support for.
This commit is contained in:
parent
55a01e7113
commit
e6dbc293f1
8 changed files with 27 additions and 89 deletions
|
|
@ -5,8 +5,6 @@
|
|||
use std::process::ExitCode;
|
||||
|
||||
use clap::Parser;
|
||||
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]
|
||||
use tikv_jemallocator::Jemalloc;
|
||||
use tracing::{error, info};
|
||||
|
||||
mod api;
|
||||
|
|
@ -23,10 +21,6 @@ pub(crate) use config::Config;
|
|||
pub(crate) use service::{pdu::PduEvent, services, Services};
|
||||
pub(crate) use utils::error::{Error, Result};
|
||||
|
||||
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]
|
||||
#[global_allocator]
|
||||
static GLOBAL: Jemalloc = Jemalloc;
|
||||
|
||||
/// Returns the current version of the crate with extra info if supplied
|
||||
///
|
||||
/// Set the environment variable `GRAPEVINE_VERSION_EXTRA` to any UTF-8 string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue