Crate autozig_engine

Crate autozig_engine 

Source
Expand description

Core engine for AutoZig code generation

This engine handles:

  1. Scanning Rust source files for autozig! invocations
  2. Extracting Zig code
  3. Compiling Zig code to static libraries with incremental optimization
  4. 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§

AutoZigEngine
Main engine for processing autozig! macros during build
BuildOutput
Output from the build process