wamr_sys

Function wasm_runtime_get_module_hash

Source
pub unsafe extern "C" fn wasm_runtime_get_module_hash(
    module: wasm_module_t,
) -> *mut c_char
Expand description

Get the module hash of a WASM module, currently only available on linux-sgx platform when the remote attestation feature is enabled

@param module the WASM module to retrieve

@return the module hash of the WASM module