mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
this took...way too long to figure out. Latest versions of `vergen` for whatever reason seem totally broken for my build hosts.
10 lines
354 B
Rust
10 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!");
|
|
}
|