aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorlukeflo2024-10-25 12:48:19 +0200
committerlukeflo2024-10-25 12:48:19 +0200
commit23ee04fffe4bdf4b8c34603e4b191d7cc308051b (patch)
tree70e4b146e388067dec7e4d5d1c5b8cd3628b5e4a /build.rs
parentbc4513d700b724b8edb72b6a1a429df60967a12c (diff)
downloadbibiman-23ee04fffe4bdf4b8c34603e4b191d7cc308051b.tar.gz
bibiman-23ee04fffe4bdf4b8c34603e4b191d7cc308051b.zip
Inegrate new command-action driven structure
- Map keys to actions to commands - allows for easily adding config file support - restructure folders/files - implement own input mode - rewrite UI rendering to make it better editable
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..ea31c78
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,7 @@
+// Make target-triple used for build accessable in binary
+fn main() {
+ println!(
+ "cargo:rustc-env=TARGET={}",
+ std::env::var("TARGET").unwrap()
+ );
+}