feat: serialize as cbor

This commit is contained in:
rvcas
2024-03-07 19:29:57 -05:00
committed by Lucas
parent 836e853827
commit 2b5ed95df5
3 changed files with 52 additions and 1 deletions

View File

@@ -728,6 +728,12 @@ where
input_path: path,
};
let mut module_bytes = vec![];
ciborium::into_writer(&checked_module, &mut module_bytes).unwrap();
println!("{name}\n{}", hex::encode(&module_bytes));
self.checked_modules.insert(name, checked_module);
}
}