start
Declares a start function run at instantiation.
corestructural
Syntax
start
Stack Effect
N/AOpcode
no executable opcode`start` is a module-level declaration encoded in section ID 8, not an executable instruction. The referenced function is invoked at instantiation.
Browser Support
Core WebAssembly instruction.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; start example
)