Skip to main content

check_declared_export

Function check_declared_export 

Source
pub fn check_declared_export(
    decl: &ExportDecl,
    project_root: &Path,
    current_manifest_digest: &str,
) -> DeclaredExportStatus
Expand description

Check one declared export against the layer the pin currently resolves to.

verify runs this over EVERY declared export without being asked — that is the whole of clause 3. --export <DIR> remains for a directory nobody has declared yet; a declared one is checked whether or not anyone remembers it.