Function wasmer_c_api::wasm_c_api::unstable::target_lexicon::wasmer_target_new
source · #[no_mangle]
pub extern "C" fn wasmer_target_new(
triple: Option<Box<wasmer_triple_t>>,
cpu_features: Option<Box<wasmer_cpu_features_t>>
) -> Option<Box<wasmer_target_t>>
Expand description
Creates a new wasmer_target_t
.
It takes ownership of triple
and cpu_features
.
Example
See the module’s documentation.