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