summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-04 14:40:03 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-04 14:40:03 +0800
commitf6655e6708f444f4ff8df3f25e17db80f410667b (patch)
tree46b6bdf6bd2db02713b9c5e2c81a824140c3fa8a /build.rs
parent5991905ae9fb519a3a43c599c5515ba39c04e5fb (diff)
Add build script and update version display format
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/build.rs b/build.rs
index 7c9aac2..ac5acaa 100644
--- a/build.rs
+++ b/build.rs
@@ -5,8 +5,6 @@ const COMPILE_INFO_RS: &str = "./src/data/compile_info.rs";
const COMPILE_INFO_RS_TEMPLATE: &str = "./src/data/compile_info.rs.template";
fn main() {
- println!("cargo:rerun-if-changed={}", COMPILE_INFO_RS_TEMPLATE);
-
let repo_root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
if let Err(e) = generate_compile_info(&repo_root) {