polkavm_common::zygote

Constant VM_COMPILER_MAXIMUM_INSTRUCTION_LENGTH

Source
pub const VM_COMPILER_MAXIMUM_INSTRUCTION_LENGTH: u32 = 67;
Expand description

The maximum number of native code bytes that can be emitted by a single VM instruction.

This does not affect the VM ABI and can be changed at will, but should be high enough that it’s never hit.