1 2 3 4 5 6 7
#[cfg(any(target_os = "linux", target_os = "macos"))] #[global_allocator] static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; fn main() -> anyhow::Result<()> { aidaemon::run() }