Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
1use std::env; 2 3fn main() { 4 if env::var_os("ZTRACING").is_some() { 5 println!(r"cargo::rustc-cfg=ztracing"); 6 } 7 println!("cargo::rerun-if-changed=build.rs"); 8 println!("cargo::rerun-if-env-changed=ZTRACING"); 9}