ref: dc6135b7b6b30fb07d2ac661e56f23be8c12f8f7
dir: /libstd/die.myr/
use "sys.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)
;;
}