406 B · text History dee327e
fn main() {
    embuild::espidf::sysenv::output();

    // The version the firmware compares against the forge's manifest, stamped
    // in by CI (src/ota.rs, `running_version`). Cargo caches by the crate's
    // inputs and an env var is not one of them, so without this a rebuild at
    // the same commit keeps the old version string.
    println!("cargo:rerun-if-env-changed=LAMBENT_FLEX_VERSION");
}