Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fn main() {
#[cfg(not(target_os = "windows"))]
println!("cargo:rerun-if-changed=build.rs");
#[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");
}
}