Skip to main content

Module program

Module program 

Source
Expand description

Compiler-owned whole-program loading and canonical module identity.

Structs§

ExecutableModuleProvenance
Compiler-only identity and resolved-edge provenance for one executable module.
ExecutableProgram
The compiler’s sole executable product: one verified wire program plus non-wire provenance.
ModuleEdge
One source-anchored, resolved dependency.
ProgramLoader
Loads one entrypoint and its complete local module graph.
ProgramLowerError
A whole-program lowering failure anchored to a canonical module path and phase.
ResolvedModule
A module loaded exactly once under its canonical filesystem identity.
ResolvedProgram
The canonical whole-program value shared by every compiler and execution phase.
UnresolvedModuleDiagnostic
A typed module-resolution failure anchored at the importing source.

Enums§

ModuleEdgeKind
The semantic role of one resolved module dependency.
ModuleTarget
The canonical identity of a resolved module dependency.
ProgramLoadError
Fail-fast program loading errors. No partially resolved graph is exposed.
ProgramLowerErrorKind
ProgramLowerPhase

Functions§

lower_program
Lowers one canonical resolved program and its matching frontend products.