Skip to main content

is_gcd

Function is_gcd 

Source
pub fn is_gcd(tcx: TyCtxt<'_>, did: DefId) -> bool
Expand description

Identify the standard gcd called by slice alignment’s generic const block. Recursive expansion is costly, and CTFE leaves generic sizes symbolic; the VM uses this identity to retain the divisibility facts needed for proof.