1 2 3 4 5
fn main() { let os_release_file_path = std::env::var("OS_RELEASE_FILE_PATH").unwrap_or("/etc/os-release".to_owned()); println!("cargo:rustc-env=OS_RELEASE_FILE_PATH={os_release_file_path}"); }