fixed bug where writing desired version

This commit is contained in:
Debanjan Basu 2024-05-19 01:51:55 +10:00
parent 22cb06ce6d
commit fcc9e66106

View File

@ -116,7 +116,7 @@ fn append_hash_and_desired_capnp_version_hash<P: AsRef<Path>, Q: AsRef<Path>>(
writeln!(out_file, "\n//BUILDHASH:{}", hex::encode(h)).unwrap(); writeln!(out_file, "\n//BUILDHASH:{}", hex::encode(h)).unwrap();
let mut hasher = Sha256::new(); let mut hasher = Sha256::new();
hasher.update(get_capnp_version_string().as_bytes()); hasher.update(get_desired_capnp_version_string().as_bytes());
writeln!( writeln!(
out_file, out_file,
"\n//CAPNPDESIREDVERSIONHASH:{}", "\n//CAPNPDESIREDVERSIONHASH:{}",