#[cfg(target_os = "linux")]
mod linux;
#[cfg(target_os = "linux")]
fn main() {
if let Err(error) = linux::run() {
eprintln!("benchmark-server: {error}");
std::process::exit(1);
}
}
#[cfg(not(target_os = "linux"))]
fn main() {
eprintln!("benchmark-server resource observations require Linux");
std::process::exit(1);
}