Skip to main content

match_cross_language_pipeline

Function match_cross_language_pipeline 

Source
pub fn match_cross_language_pipeline(
    left: &SemanticOperationGraph,
    right: &SemanticOperationGraph,
) -> Option<CrossLanguageRuleMatch>
Expand description

Match one explicitly selected Rust-to-C++ sequence pipeline.

Unlike match_registered_pipeline, this is not part of ordinary BuildVariant-local detection. Its caller must first select an explicit comparison domain and use extract_cross_language_candidates. Aligned operations must either name the same closed API correspondence entry or be the deliberately small compiler-confirmed direct-loop construct pair.