Expand description
Configuration types for chipi code generation.
Defines the TOML config schema (chipi.toml) and the target types
that carry all settings for code generation runs.
Structs§
- Chipi
Config - Top-level chipi.toml configuration.
- GenTarget
- A single decoder/disassembler code generation target.
- LutTarget
- A single emulator dispatch LUT generation target.
Enums§
- Config
Error - Dispatch
- Dispatch strategy for code generation.
Functions§
- load_
config - Load a
ChipiConfigfrom a TOML file. - resolve_
gen_ paths - Resolve paths in a
GenTargetrelative to a base directory. Supports$OUT_DIR,$CARGO_MANIFEST_DIR, etc. in paths. - resolve_
lut_ paths - Resolve paths in a
LutTargetrelative to a base directory. Supports$OUT_DIR,$CARGO_MANIFEST_DIR, etc. in paths.