wasmtime_config_cranelift_flag_set function
- @Native<Void Function(Pointer<
wasm_config_t> , Pointer<wasm_byte_t> , Pointer<wasm_byte_t> )>(ffi.Pointer<wasm_config_t>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Char>)>()
- Pointer<
wasm_config_t> arg0, - Pointer<
wasm_byte_t> key, - Pointer<
wasm_byte_t> value
\brief Sets a target-specific flag in Cranelift to the specified value.
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_set
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<wasm_config_t>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<ffi.Char>,
)
>()
external void wasmtime_config_cranelift_flag_set(
ffi.Pointer<wasm_config_t> arg0,
ffi.Pointer<ffi.Char> key,
ffi.Pointer<ffi.Char> value,
);