1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "kstd/bits/os.hpp" namespace kstd { extern "C" { [[noreturn]] auto abort() -> void { if (!kstd::os::abort()) { os::panic("System abort handler returned."); } __builtin_trap(); } } } // namespace kstd