pub struct ViaEntry {
pub emitter: String,
pub role: EmitterRole,
pub crate_name: Option<String>,
pub cross_repo: Option<String>,
pub shape_filter: Option<String>,
}Expand description
A single emitter entry from compile_targets.via in the YAML
schema. Mirrors the structured-record form spec’d in
sub/layer5-multi-emitter-quorum.md §“Contract YAML schema extension”.
At v0.1.0 the YAML schema is still a flat [String]; this struct
is the v0.2.0+ target representation pv lint will deserialize.
Fields§
§emitter: StringEmitter name, e.g. “rustc_codegen_nvvm”, “aprender-gpu”.
role: EmitterRoleRole within the quorum.
crate_name: Option<String>Local crate that registers this emitter (for role: general).
cross_repo: Option<String>Cross-repo binding target (for role: specialist cases where
the emitter lives in a different fleet repo, e.g. aprender).
shape_filter: Option<String>Optional shape filter — for specialists, identifies which
input shapes this emitter handles. Tied to a sub-contract
(e.g., gemm_fp16_mma_64x128 matches aprender’s
C-COMPUTE-GEMM-FP16-MMA contract).