git-zero-rustix 0.2.0

Bounded rustix HTTP and file storage adapters for git-zero
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Isolate encoder CPU from HTTP, process startup and object-file reads.
#[cfg(target_os = "linux")]
#[path = "linux/encoder_profile.rs"]
mod profile;

#[cfg(target_os = "linux")]
fn main() -> Result<(), Box<dyn std::error::Error>> {
    profile::run()
}

#[cfg(not(target_os = "linux"))]
fn main() {
    eprintln!("encoder-profile requires Linux resource measurement");
    std::process::exit(1);
}