3 @@ -23,13 +23,7 @@ fn write_version_file() -> io::Result<()> {
4 let target = env::var("TARGET").unwrap();
5 let version_fname = Path::new(&env::var("OUT_DIR").unwrap()).join("version_string");
6 let mut version_file = File::create(&version_fname)?;
9 - "r#\"ion {} ({})\nrev {}\"#",
12 - get_git_rev()?.trim()
14 + write!(&mut version_file, "r#\"ion {version} ({target})\n\"#")?;