Skip to main content

implementation_hash

Function implementation_hash 

Source
pub fn implementation_hash(stage: &Stage) -> [u8; 32]
Expand description

SHA-256 over the canonical AST with the name fields blanked out. Two implementations that differ only in their function/type name produce the same implementation_hash (and therefore the same StageId, given matching SigIds).