std1.0.0-beta-7 SafeC docs

std :: wasm::wasm_rt

Function abort

#include <std/wasm/wasm_rt.h> source · definition

void abort()

abort() is wasm's native trap — the host sees a RuntimeError ("unreachable") — and the printf family drops its output (SafeC has no va_arg to decode a varargs list with). snprintf isn't provided: std's float formatting (fmt_float / String::push_float) needs a host on wasm.