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

Configures whether the WebAssembly threads proposal will be enabled.

The WebAssembly threads proposal is not currently fully standardized and is undergoing development. Support for this feature can be disabled through this method for appropriate WebAssembly modules.

This feature gates items such as shared memories and atomic instructions.

This is true by default.

Example

See the module’s documentation.