soroban-env-host 22.1.3

Soroban contract host environment.
Documentation
1
2
3
4
5
6
7
8
fn main() {
    println!("cargo::rustc-check-cfg=cfg(opt_build)");
    println!("cargo::rerun-if-changed=build.rs");
    let opt_level = std::env::var("OPT_LEVEL").unwrap_or_else(|_| "0".to_string());
    if opt_level != "0" {
        println!("cargo::rustc-cfg=opt_build");
    }
}