diff options
Diffstat (limited to 'helix-term/build.rs')
-rw-r--r-- | helix-term/build.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-term/build.rs b/helix-term/build.rs index b5d62b28..7303041c 100644 --- a/helix-term/build.rs +++ b/helix-term/build.rs @@ -14,5 +14,10 @@ fn main() { None => env!("CARGO_PKG_VERSION").into(), }; + println!( + "cargo:rustc-env=BUILD_TARGET={}", + std::env::var("TARGET").unwrap() + ); + println!("cargo:rustc-env=VERSION_AND_GIT_HASH={}", version); } |