mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
version.rs should not be cached
This commit is contained in:
parent
5c0154f730
commit
86cc7de6b1
1 changed files with 0 additions and 18 deletions
|
|
@ -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 = "Wed, 05 Oct 2022 18:52:53 +0800";
|
||||
pub const SEMVER: &'static str = "v0.9.9-443-g969f93b0";
|
||||
Loading…
Reference in a new issue