pub fn diag(msg: &str)
Appends a line to /tmp/hao-diag.log — early-attach diagnostics that work before any tracing subscriber exists (and from signal-unsafe spots where stdout may be redirected by the host process).
/tmp/hao-diag.log