Expand description
Semantic build-action IR.
The planner emits these toolchain-independent action specs; the
crate::lower() layer turns them into concrete command argv for a
specific crate::Dialect. Nothing here names a compiler flag:
the IR records intent (optimization level, debug info, defines,
include directories, the source language) and each dialect spells
it (-O2 vs /O2, -c vs /c, …). A new dialect is added in
crate::lower() without this IR changing.
Structs§
- Archive
Action - Archive object files into a static library.
- Compile
Action - Compile one translation unit.
- Compile
Arguments - Semantic arguments for a compile, with no flag spelled out.
- Link
Action - Link objects and static archives into an executable.
Enums§
- Build
Action - A single semantic build step: compile a translation unit, archive objects into a static library, or link an executable.
- Compile
Mode - What a compile action should produce.