1
Fork 0
This commit is contained in:
Nicholas Nethercote 2022-06-10 11:58:29 +10:00
parent 7f51a1b976
commit 3186e311e5
13 changed files with 111 additions and 51 deletions

View file

@ -210,7 +210,7 @@ impl CodegenResults {
encoder.emit_raw_bytes(&RLINK_VERSION.to_be_bytes());
encoder.emit_str(RUSTC_VERSION.unwrap());
Encodable::encode(codegen_results, &mut encoder);
encoder.finish()
encoder.finish().unwrap()
}
pub fn deserialize_rlink(data: Vec<u8>) -> Result<Self, String> {