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