#[no_mangle]
pub extern "C" fn wasm_config_push_middleware(
config: &mut wasm_config_t,
middleware: Box<wasmer_middleware_t>,
)
Expand description
Updates the configuration to add a module middleware.
This function takes ownership of middleware
.
This is a Wasmer-specific function.
ยงExample
See the documentation of the [metering
] module.