aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-29 04:53:48 +0000
committerFuwn <[email protected]>2023-05-29 04:53:48 +0000
commitaa5da4cd3f296bbf8ca0581eaff70cb58ae05aa6 (patch)
treed2d6515aec4fcd02f2996f1cfa40e7cd0d55e3ec /build.rs
parentdeps(log): bump logging dependencies (diff)
downloadseptember-aa5da4cd3f296bbf8ca0581eaff70cb58ae05aa6.tar.xz
september-aa5da4cd3f296bbf8ca0581eaff70cb58ae05aa6.zip
deps(vergen): bump
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 3a31cf4..ea4287b 100644
--- a/build.rs
+++ b/build.rs
@@ -16,4 +16,8 @@
// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
-fn main() -> anyhow::Result<()> { vergen::vergen(vergen::Config::default()) }
+fn main() -> Result<(), Box<dyn std::error::Error>> {
+ vergen::EmitBuilder::builder().git_sha(true).emit()?;
+
+ Ok(())
+}