ref: 1fb34b1a5524bb3325a97e301a6cc51884a74bbb
dir: /lib/std/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)
;;
}