pub fn build_candidate(
snapshot: &Snapshot,
gleam_name: &str,
) -> Result<(Vec<u8>, Vec<u8>), BuildError>Expand description
Runs gleam build in the snapshot’s staging directory and reads both
compiled BEAM files from the landed ebin shape.
§Errors
BuildError::GleamBuild with verbatim diagnostics on a compile
failure; BuildError::MissingBeam/BuildError::Io when a
promised artifact is absent or unreadable.