Files
rustup/build.rs
Daniel Silverstone 3772516983 Switch to git-testament rather than old build.rs
Rather than the previous not-very-informative version string
which was generated by build.rs and then not updated unless
build.rs was touched, use the new `git-testament` crate which
does a more complete job at compile time via a proc-macro.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-04-11 08:07:20 +01:00

7 lines
126 B
Rust

use std::env;
fn main() {
let target = env::var("TARGET").unwrap();
println!("cargo:rustc-env=TARGET={}", target);
}