Skip to main content

validate_component_codegen_bridge

Function validate_component_codegen_bridge 

Source
pub fn validate_component_codegen_bridge(
    codegen: &ComponentCodegenBridge,
    descriptor: &ComponentDescriptor,
) -> Result<(), String>
Expand description

Validate producer-local codegen coordinates against their canonical component graph.

The canonical descriptor deliberately does not make producer IDs semantic component identity. This check instead proves that the relocation table is total, non-overlapping, deterministically ordered, and attached to the canonical values/fields it claims before final codegen can observe it.