sim-auto 0.2.0

Bootloader-backed automotive bay command surface for SIM.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::process::ExitCode;

fn main() -> ExitCode {
    let args = sim_auto::auto_boot_args(std::env::args_os());
    match sim_auto::auto_bootloader().run(args) {
        Ok(0) => ExitCode::SUCCESS,
        Ok(code) => ExitCode::from(code as u8),
        Err(err) => {
            eprintln!("{err}");
            ExitCode::FAILURE
        }
    }
}