Function wasmer_c_api::wasm_c_api::version::wasmer_version
source · #[no_mangle]
pub unsafe extern "C" fn wasmer_version() -> *const c_char
Expand description
Get the version of the Wasmer C API.
The .h
files already define variables like WASMER_VERSION*
,
but if this file is unreachable, one can use this function to
retrieve the full semver version of the Wasmer C API.
The returned string is statically allocated. It must not be freed!
§Example
See the module’s documentation.