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);