aboutsummaryrefslogtreecommitdiff
path: root/helix-loader/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-loader/build.rs')
-rw-r--r--helix-loader/build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-loader/build.rs b/helix-loader/build.rs
new file mode 100644
index 00000000..e0ebd1c4
--- /dev/null
+++ b/helix-loader/build.rs
@@ -0,0 +1,6 @@
+fn main() {
+ println!(
+ "cargo:rustc-env=BUILD_TARGET={}",
+ std::env::var("TARGET").unwrap()
+ );
+}