blob: a4e955b83fbc989c447324d16ee3172ce14b3f37 (
plain) (
tree)
|
|
use rustc_version::version;
fn main() {
// Acquire the version of Rust used to compile, this is added as a label to
// the garage_build_info metric.
let v = version().unwrap();
println!("cargo:rustc-env=RUSTC_VERSION={v}");
}
|