Skip to main content

CpuFn

Type Alias CpuFn 

Source
pub type CpuFn = fn(&[u8], &mut Vec<u8>);
Expand description

Flat byte-ABI CPU reference function used by Category C descriptors.

The function reads raw bytes from input, computes the operation’s semantics, and appends the result bytes to output. This type lives in vyre-spec so that conform certificates can embed the function pointer without dragging the rest of the compiler into the data contract.