pkgsrc 0.15.0

Rust interface to pkgsrc packages and infrastructure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::process::{Command, ExitCode};

fn main() -> ExitCode {
    let status = Command::new("sh")
        .arg("benches/resolve.sh")
        .args(std::env::args_os().skip(1).filter(|arg| arg != "--bench"))
        .current_dir(env!("CARGO_MANIFEST_DIR"))
        .status()
        .expect("failed to run benchmark script");

    ExitCode::from(status.code().unwrap_or(1) as u8)
}