1 2 3 4 5 6 7 8 9 10 11
use gateway::GatewayServer; use leash::ignite; #[cfg(not(target_os = "windows"))] use tikv_jemallocator::Jemalloc; #[cfg(not(target_os = "windows"))] #[global_allocator] static GLOBAL: Jemalloc = Jemalloc; ignite!(GatewayServer);