exit

Terminates the current process and return the specified exit code.

Syntax

exit fn (
    exit_code: u32
)

Parameters

exit_code

The exit code of the process.

Example

#start {
    std.exit(0)
}