Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

462 B
Raw Blame
use std::env;

fn main() {
    if env::var_os("ZTRACING").is_some() {
        println!("cargo::rustc-cfg=ztracing");
    }
    if env::var_os("ZTRACING_WITH_MEMORY").is_some() {
        println!("cargo::rustc-cfg=ztracing");
        println!("cargo::rustc-cfg=ztracing_with_memory");
    }
    println!("cargo::rerun-if-changed=build.rs");
    println!("cargo::rerun-if-env-changed=ZTRACING");
    println!("cargo::rerun-if-env-changed=ZTRACING_WITH_MEMORY");
}