wasmtime_config_target_set function
- @Native<Pointer<
wasmtime_error_t> Function(Pointer<wasm_config_t> arg0, Pointer<wasm_byte_t> arg1)>(ffi.Pointer<wasm_config_t>, ffi.Pointer<ffi.Char>)>()
- Pointer<
wasm_config_t> arg0, - Pointer<
wasm_byte_t> arg1
\brief Configures the target triple that this configuration will produce machine code for.
This option defaults to the native host. Calling this method will
additionally disable inference of the native features of the host (e.g.
detection of SSE4.2 on x86_64 hosts). Native features can be reenabled with
the cranelift_flag_{set,enable} properties.
For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.config
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_error_t> Function(
ffi.Pointer<wasm_config_t>,
ffi.Pointer<ffi.Char>,
)
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_config_target_set(
ffi.Pointer<wasm_config_t> arg0,
ffi.Pointer<ffi.Char> arg1,
);