wasmtime_config_signals_based_traps_set function

  1. @Native<Void Function(Pointer<wasm_config_t>, Bool)>(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
void wasmtime_config_signals_based_traps_set(
  1. Pointer<wasm_config_t> arg0,
  2. bool arg1
)

\brief Configures Wasmtime to not use signals-based trap handlers, for example disables SIGILL and SIGSEGV handler registration on Unix platforms.

This option defaults to true: signals-based trap handlers are enabled by default.

For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.signals_based_traps

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
external void wasmtime_config_signals_based_traps_set(
  ffi.Pointer<wasm_config_t> arg0,
  bool arg1,
);