#include "kstd/os/error.hpp" namespace kstd::libc { extern "C" { [[noreturn]] auto abort() -> void { kstd::os::abort(); } [[noreturn, gnu::weak]] auto free(void *) -> void { kstd::os::panic("Tried to call free."); } } } // namespace kstd::libc