(path: &Path, bytes: &[u8])
| 7489 | } |
| 7490 | |
| 7491 | fn write_bytes_file(path: &Path, bytes: &[u8]) -> Result<()> { |
| 7492 | if let Some(parent) = path.parent() { |
| 7493 | fs::create_dir_all(parent).with_context(|| format!("create {}", parent.display()))?; |
| 7494 | } |
| 7495 | fs::write(path, bytes).with_context(|| format!("write {}", path.display())) |
| 7496 | } |
| 7497 | |
| 7498 | fn extension_build_module_path( |
| 7499 | build_dir: &Path, |
no outgoing calls
no test coverage detected