|
cwist
Modern C web framework with libttak runtime
|
Target capability macros shared by all CWIST sources. More...
#include <cwist/sys/wasi.h>

Go to the source code of this file.
Macros | |
| #define | CWIST_PLATFORM_HOSTED 1 |
Target capability macros shared by all CWIST sources.
Guards test what the target provides instead of which toolchain built it, so a new target (bare metal, issue #447) only has to define its row here:
WASI flavour detection (CWIST_WASI_SOCKETS / CWIST_WASI_NO_SOCKETS) stays in <cwist/sys/wasi.h>; guards that select a WASI-only API (getentropy via wasi-libc, wasi:sockets quirks) keep testing it or wasi directly.
Definition in file platform.h.
| #define CWIST_PLATFORM_HOSTED 1 |
Definition at line 38 of file platform.h.