youki 0.3.2

A container runtime written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use anyhow::Result;
use vergen::EmitBuilder;

fn main() -> Result<()> {
    if EmitBuilder::builder()
        .fail_on_error()
        .git_sha(true)
        .emit()
        .is_err()
    {
        // currently we only inject git sha, so just this
        // else we will need to think of more elegant way to check
        // what failed, and what needs to be added
        println!("cargo:rustc-env=VERGEN_GIT_SHA=unknown");
    }
    Ok(())
}