From 75443f075fc1f01088fdf0f2f1ebc0db76fd4139 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 13 Oct 2022 03:45:26 +0800 Subject: [PATCH] add dummy commit for publish --- services/xous-ticktimer/src/version.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 services/xous-ticktimer/src/version.rs diff --git a/services/xous-ticktimer/src/version.rs b/services/xous-ticktimer/src/version.rs new file mode 100644 index 000000000..910dcd3fc --- /dev/null +++ b/services/xous-ticktimer/src/version.rs @@ -0,0 +1,18 @@ +// 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 = "Thu, 13 Oct 2022 03:27:22 +0800"; +pub const SEMVER: &'static str = "v0.9.10-36-gdb7d1902";