3#ifndef WASMTIME_WASIP2_H
4#define WASMTIME_WASIP2_H
9#ifdef WASMTIME_FEATURE_WASI
10#ifdef WASMTIME_FEATURE_COMPONENT_MODEL
Build-time defines for how the C API was built.
struct wasmtime_wasip2_config_t wasmtime_wasip2_config_t
Config for the WASIP2 context.
Definition: wasip2.h:17
wasmtime_wasip2_config_t * wasmtime_wasip2_config_new()
Create a wasmtime_wasip2_config_t.
void wasmtime_wasip2_config_delete(wasmtime_wasip2_config_t *config)
Delete a wasmtime_wasip2_config_t.
void wasmtime_wasip2_config_inherit_stdout(wasmtime_wasip2_config_t *config)
Configures this context's stdout stream to write to the host process's stdout.