mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-25 09:50:52 +00:00
11 lines
354 B
Rust
11 lines
354 B
Rust
|
|
use vergen::{ConstantsFlags, generate_cargo_keys};
|
||
|
|
|
||
|
|
fn main() {
|
||
|
|
// Setup the flags, toggling off the 'SEMVER_FROM_CARGO_PKG' flag
|
||
|
|
let mut flags = ConstantsFlags::all();
|
||
|
|
flags.toggle(ConstantsFlags::SEMVER_FROM_CARGO_PKG);
|
||
|
|
|
||
|
|
// Generate the 'cargo:' key output
|
||
|
|
generate_cargo_keys(flags).expect("Unable to generate the cargo keys!");
|
||
|
|
}
|