Split crate into shared logic library and binary crate (#52)

This commit is contained in:
PROMETHIA-27
2025-06-28 16:53:40 -04:00
committed by GitHub
parent 5d00cede94
commit b93c0e4d96
64 changed files with 514 additions and 104 deletions

17
crates/shared/build.rs Normal file
View File

@@ -0,0 +1,17 @@
use vergen_gitcl::{Emitter, GitclBuilder};
fn main() {
let gitcl = GitclBuilder::default()
.branch(true)
.sha(true)
.build()
.unwrap();
Emitter::default()
.add_instructions(&gitcl)
.unwrap()
.emit()
.unwrap();
#[cfg(target_os = "linux")]
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
}