MCPcopy Create free account
hub / github.com/MagnetForensics/dumpit-linux / main

Function main

build.rs:5–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3use pkg_config::find_library;
4
5fn main() -> Result<()> {
6
7 if let Err(e) = find_library("liblzma") {
8 panic!("You need to install liblzma-dev. Run \"apt install liblzma-dev\"\n\n{}", e);
9 }
10
11 let mut config = Config::default();
12 *config.git_mut().sha_kind_mut() = ShaKind::Short;
13 *config.build_mut().timestamp_mut() = true;
14 *config.git_mut().commit_timestamp_mut() = true;
15 vergen(config)
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected