performance-metrics: share build.rs from project root

No need to duplicate the same content in two places.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2023-01-13 16:58:23 +00:00
committed by Liu Wei
parent 34b3170680
commit 11ef495e6b
3 changed files with 2 additions and 26 deletions

View File

@@ -654,7 +654,7 @@ fn main() {
let opts: Options = argh::from_env();
if opts.version {
println!("{} {}", env!("CARGO_BIN_NAME"), env!("GIT_HUMAN_READABLE"));
println!("{} {}", env!("CARGO_BIN_NAME"), env!("BUILT_VERSION"));
return;
}