#[no_mangle]
pub extern "C" fn wasmer_features_multi_memory(
    features: Option<&mut wasmer_features_t>,
    enable: bool
) -> bool
Expand description

Configures whether the WebAssembly multi-memory proposal will be enabled.

The WebAssembly multi-memory proposal is not currently fully standardized and is undergoing development. Support for this feature can be enabled through this method for appropriate WebAssembly modules.

This feature adds the ability to use multiple memories within a single Wasm module.

This is false by default.

Example

See the module’s documentation.