summaryrefslogtreecommitdiff
path: root/src/data/compile_info.rs.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/compile_info.rs.template')
-rw-r--r--src/data/compile_info.rs.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/compile_info.rs.template b/src/data/compile_info.rs.template
index 21909eb..78a475b 100644
--- a/src/data/compile_info.rs.template
+++ b/src/data/compile_info.rs.template
@@ -5,6 +5,8 @@ pub struct CoreCompileInfo {
pub toolchain: String,
pub vcs_version: String,
+ pub build_branch: String,
+ pub build_commit: String,
}
impl Default for CoreCompileInfo {
@@ -15,6 +17,8 @@ impl Default for CoreCompileInfo {
platform: "{platform}".to_string(),
toolchain: "{toolchain}".to_string(),
vcs_version: "{version}".to_string(),
+ build_branch: "{branch}".to_string(),
+ build_commit: "{commit}".to_string(),
}
}
}