1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-06 08:46:17 +02:00
BLAKE3/tools/compiler_version/build.rs

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);
}