ref: 6538ea2c5b4daf1fc325144fbb0c9bc779ba3130
dir: /lib/std/assert.myr/
use "fmt.use"
use "syswrap.use"
use "varargs.use"
pkg std =
const assert : (cond : bool, fmt : byte[:], args : ... -> void)
;;
const assert = {cond, msg, args
var ap
ap = vastart(&args)
if !cond
std.fputv(2, msg, &ap)
suicide()
;;
}