Files

7 lines
213 B
Rust

fn main() {
let build = cc::Build::new();
let compiler = build.get_compiler();
let compiler_path = compiler.path().to_string_lossy();
println!("cargo:rustc-env=COMPILER_PATH={}", compiler_path);
}