Skip to main content

interface_c

Function interface_c 

Source
pub fn interface_c(
    package: &ResolvedLanguageStandards,
    package_settings: &LanguageStandardSettings,
    target: &Target,
) -> Option<InterfaceStandard<CStandard>>
Expand description

Effective C interface requirement for a library-like target: target interface ▶ package interface (literal or workspace-inherited) ▶ the target’s effective implementation standard, when one is declared (an interface may still default from an explicit implementation standard). None when no tier yields a value.