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