Expand description
Public cross-domain canonical validation over crate::Program.
Functions§
- validate_
canonical_ ids - Validate every builtin reference in a Workshop-origin WIR program against the canonical catalog: action/value call names must be known canonical ids, and event/enum references must resolve to canonical identities.
- validate_
canonical_ ids_ tolerating_ residuals - Same contract as
validate_canonical_ids, except that catalog-unknown action and value calls — the constructscrate::Program::semantic_issuesreports as completeness residuals — are tolerated rather than rejected. An unknown call’s signature is unknowable and is not checked, but its argument values are still validated recursively and validation continues to later siblings, so a residual cannot mask a canonical violation elsewhere in the program. Every other canonical check is unchanged and the first real violation still aborts validation.