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

Configures whether the WebAssembly bulk memory operations proposal will be enabled.

The WebAssembly bulk memory operations 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 gates items such as the memory.copy instruction, passive data/table segments, etc, being in a module.

This is false by default.

Example

See the module’s documentation.