exit_safely 0.3.2

exit safely with custom exit codes while still calling `Drop` as needed. Aims for minimal magic and maximum flexibilty.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use ninja_build_rs::{Result, nightly::Nightly};

fn main() -> Result<()> {
    let mut ac = autocfg::new();
    ac.set_edition(Some("2024".to_string()));

    ac.emit_unstable_feature("proc_macro_diagnostic");
    ac.emit_unstable_feature("never_type");
    ac.emit_unstable_feature("try_trait_v2");
    ac.emit_unstable_feature("try_trait_v2_residual");

    Ok(())
}