fn main() { #[cfg(target_os = "windows")] { println!("cargo:rerun-if-env-changed=RELEASE_CHANNEL"); println!("cargo:rerun-if-env-changed=GITHUB_RUN_NUMBER"); windows_resources::compile(true).expect("failed to compile Windows resources"); } }