Expand description

Unstable non-standard Wasmer-specific API that contains a Features API for the engine and the compiler.

Example

int main() {
    // Declare features.
    wasmer_features_t* features = wasmer_features_new();

    // Now, let's enable de SIMD feature.
    wasmer_features_simd(features, true);

    // And also the memory64 feature.     
    wasmer_features_memory64(features, true);

    wasmer_features_delete(features);

    return 0;
}

To go further, see wasm_config_set_features.

Structs

Functions