Skip to main content

bound_platform

Function bound_platform 

Source
pub fn bound_platform(principal: &str) -> Option<&str>
Expand description

The platform a signer principal is bound to: the text after its last @ when that is <arch>-<os> over the closed sets below, else None. A principal that names no platform (ci@relais, an email address) is unbound, and so is one whose suffix has any other shape (x@x86_64-linux-gnu, x@riscv64-linux).