wasmtime_config_cranelift_flag_enable function

  1. @Native<Void Function(Pointer<wasm_config_t>, Pointer<wasm_byte_t>)>(ffi.Pointer<wasm_config_t>, ffi.Pointer<ffi.Char>)>()
void wasmtime_config_cranelift_flag_enable(
  1. Pointer<wasm_config_t> arg0,
  2. Pointer<wasm_byte_t> arg1
)

\brief Enables a target-specific flag in Cranelift.

This can be used, for example, to enable SSE4.2 on x86_64 hosts. Settings can be explored with wasmtime settings on the CLI.

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

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<wasm_config_t>, ffi.Pointer<ffi.Char>)
>()
external void wasmtime_config_cranelift_flag_enable(
  ffi.Pointer<wasm_config_t> arg0,
  ffi.Pointer<ffi.Char> arg1,
);