remove version from tracking when not packaging

This commit is contained in:
bunnie 2022-10-03 03:46:04 +08:00
parent 0a03782245
commit e4c306d50a

View file

@ -1,18 +0,0 @@
// Versioning information is kept in a separate file, attached to a small, well-known server in the Xous System
// This is a trade-off between rebuild times and flexibility.
// This was autogenerated by xtask/src/main.rs:print_header(). Do not edit manually.
pub(crate) fn get_version() -> crate::api::VersionString {
let mut v = crate::api::VersionString {
version: xous_ipc::String::new()
};
v.version.append(SEMVER).ok();
#[cfg(not(feature="no-timestamp"))]
v.version.append("\n").ok();
#[cfg(not(feature="no-timestamp"))]
v.version.append(TIMESTAMP).ok();
v
}
#[allow(dead_code)]
pub const TIMESTAMP: &'static str = "Mon, 03 Oct 2022 03:29:28 +0800";
pub const SEMVER: &'static str = "v0.9.9-410-g924c0fd8";