1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2025-01-21 15:50:01 +01: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);
}