ref: 346c26a93cb79f89c3d0fb12d0a2d749956cebdb
dir: /libstd/die.myr/
use "syswrap.use"
use "types.use"
pkg std =
const die : (msg : byte[:] -> void)
const assert : (cond : bool, msg : byte[:] -> void)
;;
const die = {msg
write(2, msg)
kill(getpid(), 6)
}
const assert = {cond, msg
if !cond
die(msg)
;;
}