https://toitlang.org/ logo
On host platforms, the `exit` terminates the entir...
# general
k
On host platforms, the
exit
terminates the entire invocation of the Toit virtual machine, but I think you'll get the behaviour you need on a device.