ref: 2b1c13ce2d20ce2b4e68e1daf08a1679d94fe397
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)
;;
}