aiken-lang 1.1.10

The Aiken compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub fn compiler_version(include_commit_hash: bool) -> String {
    if include_commit_hash {
        format!(
            "v{}+{}",
            built_info::PKG_VERSION,
            built_info::GIT_COMMIT_HASH_SHORT.unwrap_or("unknown")
        )
    } else {
        format!("v{}", built_info::PKG_VERSION,)
    }
}

mod built_info {
    include!(concat!(env!("OUT_DIR"), "/built.rs"));
}