zccache 1.12.16

Local-first compiler cache for C/C++/Rust/Emscripten
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! zccache daemon process.
//!
//! Thin shim (issue #997): the daemon `main` lives in the library at
//! [`zccache::daemon::entry`] so it can be invoked both here and from the
//! `zccache` binary's argv[0] multi-call dispatch (issue #998). This file
//! only installs the global allocator (which must live in the final binary,
//! not the library) and delegates.

#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

fn main() {
    zccache::daemon::entry::run();
}