Skip to main content

executable_platform

Function executable_platform 

Source
pub fn executable_platform(bytes: &[u8]) -> Option<ConstraintPlatform>
Expand description

The platform an executable’s own header declares. The bootstrap derives the target this way, from the protected artifact bytes, never from an environment value or a candidate field, and requires equality with the constraint, the manifest row, and the sandbox verification.