pub const MAX_FUNCTION_LOCALS: u32 = 50_000;Expand description
Locals the Wasm engine accepts in one function (wasmparser’s
MAX_WASM_FUNCTION_LOCALS). Runtime checks add locals as they are emitted,
so emitting stops with a located error before a function the engine would
reject.