Fix C API function name of setting max instances (#2598)

Forgot the trailing `_set` at the end...
This commit is contained in:
Alex Crichton
2021-01-22 09:55:28 -06:00
committed by GitHub
parent 4a351ab7fe
commit 55b0e8b9e5

View File

@@ -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);
} }