Expand description
Core engine for AutoZig code generation
This engine handles:
- Scanning Rust source files for autozig! invocations
- Extracting Zig code
- Compiling Zig code to static libraries with incremental optimization
- Target triple mapping for cross-compilation
Re-exports§
pub use scanner::ZigCodeScanner;pub use zig_compiler::ZigCompiler;
Modules§
- scanner
- Source code scanner to extract Zig code from autozig! macros using syn AST parsing
- type_
mapper - Type mapping between Zig and Rust types
- zig_
compiler - Zig compiler wrapper with target support
Structs§
- Auto
ZigEngine - Main engine for processing autozig! macros during build
- Build
Output - Output from the build process