Fix C API function name of setting max instances (#2598)
Forgot the trailing `_set` at the end...
This commit is contained in:
@@ -173,6 +173,6 @@ pub extern "C" fn wasmtime_config_dynamic_memory_guard_size_set(c: &mut wasm_con
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn wasmtime_config_max_instances(c: &mut wasm_config_t, limit: usize) {
|
pub extern "C" fn wasmtime_config_max_instances_set(c: &mut wasm_config_t, limit: usize) {
|
||||||
c.config.max_instances(limit);
|
c.config.max_instances(limit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user