ref: 1a1892e5a47ac3c1ab1b1944ee1ee11fc3d1e3c8
dir: /lib/std/die.myr/
use "syswrap"
use "types"
pkg std =
$noret const die : (msg : byte[:] -> void)
pkglocal const iassert : (cond : bool, msg : byte[:] -> void)
;;
const die = {msg
write(2, msg)
suicide()
}
const iassert = {cond, msg
if !cond
die(msg)
;;
}