ref: 0b0fb103248ec7b12b3a2b94d88b1fe7a0b4403e
dir: /lib/std/die.myr/
use "syswrap.use"
use "types.use"
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)
;;
}