pub fn collect_flat_from_generated_rust(
root: &Path,
) -> Result<Vec<FlatInstruction>, CodegenError>Expand description
Collects normalized instruction variants from generated aarchmrs-instructions Rust source.
The root must point to an ISA folder such as .../aarchmrs-instructions/src/A64.
ยงErrors
Returns CodegenError when filesystem traversal or source parsing fails.