fn main() { // Cargo does NOT track an `option_env!` variable on its own — the macro is // expanded at compile time and nothing records that the crate depends on it. // So without this line, a cached `target/` would keep a binary reporting // whatever version the previous build baked, and the footer would confidently // name the wrong build. The desktop lane has no cache today, which is exactly // why this is easy to forget the day one is added. // // See DISPLAY_VERSION in `src/commands/local.rs`. println!("cargo::rerun-if-env-changed=THOUGHTSYNC_DISPLAY_VERSION"); tauri_build::build() }