1 2 3 4 5 6 7
use std::env; fn main() { if env::var("CI").is_ok() { println!("cargo:rustc-cfg=feature=\"ci\""); } }