cranelift_codegen::binemit

Type Alias CodeOffset

Source
pub type CodeOffset = u32;
Expand description

Offset in bytes from the beginning of the function.

Cranelift can be used as a cross compiler, so we don’t want to use a type like usize which depends on the host platform, not the target platform.