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