#[no_mangle]
pub unsafe extern "C" fn wasmer_version_pre() -> *const c_char
Expand 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 print the pre version.
    const char* version_pre = wasmer_version_pre();
    printf("%s", version_pre);

    // No need to free the string. It's statically allocated on
    // the Rust side.

    return 0;
}