(bytes: &[u8])
| 9514 | } |
| 9515 | |
| 9516 | fn sha256_bytes(bytes: &[u8]) -> String { |
| 9517 | let mut hasher = Sha256::new(); |
| 9518 | hasher.update(bytes); |
| 9519 | format!("{:x}", hasher.finalize()) |
| 9520 | } |
| 9521 | |
| 9522 | fn read_wasm_link_metadata(path: &Path) -> Result<WasmLinkMetadataOut> { |
| 9523 | let bytes = fs::read(path).with_context(|| format!("read {}", path.display()))?; |
no outgoing calls
no test coverage detected