ref: 9bf446ab7795f7397bc4fb7ae9e46ce14c3f679c
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()
;;
}