Based on feedback by al1f in discord, hide use of glibc-specific functions behind defined(__GLIBC__) checks.
The stacktrace printing could be reactivated using libexecinfo (making this an optional dependency, or just vendoring it in, it looks like it could benefit from C++ templates), but that's out of scope for this PR.
Based on feedback by al1f in discord, hide use of glibc-specific functions behind
defined(__GLIBC__)
checks.The stacktrace printing could be reactivated using libexecinfo (making this an optional dependency, or just vendoring it in, it looks like it could benefit from C++ templates), but that's out of scope for this PR.