Skip to main content

validate_refs

Function validate_refs 

Source
pub fn validate_refs(ir: &Ir) -> Result<(), BindgenError>
Expand description

Validate that every TypeRef in ir resolves to a NamedType.id. The host runs this on every IR returned from a plugin before passing it to the next stage.