summaryrefslogtreecommitdiff
path: root/exes/ratelimit/src/main.rs
blob: d16e7d371009c384849ae8141b70081e75357e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
use leash::ignite;
use ratelimit::RatelimiterServerComponent;

#[cfg(not(target_env = "msvc"))]
use tikv_jemallocator::Jemalloc;

#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

ignite!(RatelimiterServerComponent);