wasmtime_config_debug_info_set function

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

\brief Configures whether DWARF debug information is constructed at runtime to describe JIT code.

This setting is false by default. When enabled it will attempt to inform native debuggers about DWARF debugging information for JIT code to more easily debug compiled WebAssembly via native debuggers. This can also sometimes improve the quality of output when profiling is enabled.

Implementation

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