(sigil build native sdk)
Explicit public SDK identity and declaration drift checks.
Exports
native-sdk-public-headersvariablePublic headers for ABI 1's ordinary dynamic x86_64 GNU profile. Secure headers describe its separately linked runtime and cannot be used by a deferred provider. Unknown headers require classification.
native-sdk-digestprocedureBind the exact archive, complete classified headers and checked API profile.
prepare-native-sdk!procedureFinalize SDK headers and prove its declared API before provider tasks. OUTPUT/include/sigil and OUTPUT/src must already exist. No archive build occurs here: ARCHIVE is the preceding SDK package task's actual artifact.
validate-native-sdk-receipt!procedureRecheck dependency SDK identity; a provider never supplies its own claim.
validate-native-sdk-object-headers!procedureCanonical compiler inputs must use the prerequisite SDK's public bytes, including path aliases and generated public headers. Return whether this unit read sigil.h; helper/vendor units need not use the SDK.
native-sdk-public-declarationsprocedureExtract external declarations from compiler-preprocessed public headers. Optional ROOT limits observations to the compiler's header locations. Structure fields and static-inline bodies are excluded. External bodies and mixed declarators require explicit classification instead of omission.
read-native-sdk-apiprocedureRead the checked, feature-specific SDK API inventory, never an nm dump.
native-sdk-api-symbolsprocedureReturn the explicitly supported external names, including supported helpers.
validate-native-sdk-api!procedureRefuse declaration or implementation drift before producing a component.