aboutsummaryrefslogtreecommitdiff
path: root/swaystatus-plugin/build.rs
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2021-04-07 21:29:02 +0200
committerAndreas Grois <andi@grois.info>2021-04-18 20:25:00 +0200
commit99c3480323f2df0c1cd455e2e03e832c1196050a (patch)
tree02331612925d9ce8a02d47fc471626701c364682 /swaystatus-plugin/build.rs
parent1c394103886ed58b72016c971a6ab54dbd64d55b (diff)
First semi-working implementation.
Diffstat (limited to 'swaystatus-plugin/build.rs')
-rw-r--r--swaystatus-plugin/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/swaystatus-plugin/build.rs b/swaystatus-plugin/build.rs
new file mode 100644
index 0000000..a38022f
--- /dev/null
+++ b/swaystatus-plugin/build.rs
@@ -0,0 +1,4 @@
+fn main() {
+ let version = rustc_version::version().unwrap();
+ println!("cargo:rustc-env=RUSTC_VERSION={}", version);
+}