Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> stacktraces are only available in certain build modes

> zig has pretty good error traces by default

These seem rather conditional. If I need to run release-fast in prod, say, do we loose these error traces (for bugs)?



You can enable error traces for release-fast builds as well, without enabling full debug info. Though the quality of call stack of course vary depending on optimization level.


oh awesome. I thought error traces were only on debug and optionally on ReleaseSafe.


You do, to a significant extent. Though there is always the option of running ReleaseSafe.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: