ref: 1b3aab8fc6ba53376a2eff03ca08eea379b79734
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)
;;
}