stdarch-gen-hexagon: Fix formatting

This commit is contained in:
Brian Cain
2026-02-15 12:18:19 -06:00
parent f5161526e6
commit 76c041c19a
@@ -312,8 +312,13 @@ fn read_header(crate_dir: &Path) -> Result<String, String> {
println!("Reading HVX header from: {}", header_path.display());
println!(" (LLVM version: {})", LLVM_VERSION);
std::fs::read_to_string(&header_path)
.map_err(|e| format!("Failed to read header file {}: {}", header_path.display(), e))
std::fs::read_to_string(&header_path).map_err(|e| {
format!(
"Failed to read header file {}: {}",
header_path.display(),
e
)
})
}
/// Parse a C function prototype to extract return type and parameters