lamina-codegen - Codegen utilities for Lamina
This crate provides code generation utilities including register allocation, ABI handling, and frame management for various target architectures.
Cross-compilation is supported: pass the desired target (arch, OS) when creating ABI or regalloc; the generated code will follow that target's ABI.
Usage
use ;
use TargetOperatingSystem;
let abi = X86ABInew;
let regalloc = new;