diff options
Diffstat (limited to 'exes/webhook/src')
| -rw-r--r-- | exes/webhook/src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/exes/webhook/src/main.rs b/exes/webhook/src/main.rs index f531725..9432dbd 100644 --- a/exes/webhook/src/main.rs +++ b/exes/webhook/src/main.rs @@ -1,4 +1,11 @@ use leash::ignite; use webhook::WebhookServer; +#[cfg(not(target_env = "msvc"))] +use tikv_jemallocator::Jemalloc; + +#[cfg(not(target_env = "msvc"))] +#[global_allocator] +static GLOBAL: Jemalloc = Jemalloc; + ignite!(WebhookServer); |
