#[unsafe(no_mangle)]pub unsafe extern "C" fn wasmer_version_pre() -> *const c_charExpand description
Get the minor version of the Wasmer C API.
See wasmer_version_major to learn more.
The returned string is statically allocated. It must not be freed!
ยงExample
int main() {
// Get and check the pre version.
const char* version_pre = wasmer_version_pre();
assert(strcmp(version_pre, WASMER_VERSION_PRE) == 0);
// No need to free the string. It's statically allocated on
// the Rust side.
return 0;
}