Expand description
Candidate builds in generation-specific staging (F-7b R3): each build generation gets its own staging copy of the component inputs, so compiler partials can never overwrite last-good bytes, and the content snapshot is identified by a BLAKE3 digest computed over the copied bytes in deterministic order (constraint 8 — the digest, not timing, identifies a build).
Structs§
- Snapshot
- One staged content snapshot, ready to build.
Enums§
- Build
Error - Typed failures of the snapshot/build pipeline. Compiler diagnostics
ride
Self::GleamBuildverbatim (R4: captured, never summarized away).
Functions§
- build_
candidate - Runs
gleam buildin the snapshot’s staging directory and reads both compiled BEAM files from the landed ebin shape. - snapshot_
component - Copies
component/gleam.tomlandcomponent/src/**into the generation’s staging directory and digests the copied content. A leftover directory from a superseded attempt at the same generation is removed first — staging is always a fresh, complete copy.