Function wasmer::wasm_c_api::unstable::target_lexicon::wasmer_triple_new_from_host
source · #[no_mangle]
pub extern "C" fn wasmer_triple_new_from_host(
) -> Box<wasmer_triple_t>
Expand description
Create the wasmer_triple_t
for the current host.
§Example
int main() {
wasmer_triple_t* triple = wasmer_triple_new_from_host();
assert(triple);
wasmer_triple_delete(triple);
return 0;
}
See also wasmer_triple_new
.