Skip to main content

extract_cross_language_candidates

Function extract_cross_language_candidates 

Source
pub fn extract_cross_language_candidates(
    inputs: &[CrossLanguageCandidateInput],
    config: SemanticCandidateConfig,
) -> CrossLanguageCandidateExtraction
Expand description

Extract bounded candidates for an explicit Rust-to-C++ comparison.

Ordinary semantic findings must use extract_registered_candidates. This function considers only graphs that carry the same caller-provided comparison partition, have a Rust/C++ language pairing, and consist solely of closed API correspondences or compiler-confirmed direct-loop constructs. It never compares C, joins normal BuildVariants, or falls back to matching API-name suffixes or arbitrary source syntax.