Function wasmer_c_api::wasm_c_api::unstable::features::wasmer_features_multi_value
source · #[no_mangle]
pub extern "C" fn wasmer_features_multi_value(
features: Option<&mut wasmer_features_t>,
enable: bool
) -> bool
Expand description
Configures whether the WebAssembly multi-value proposal will be enabled.
The WebAssembly multi-value 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 functions and blocks returning multiple values in a module, for example.
This is false
by default.
Example
See the module’s documentation.