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