From 55b0e8b9e528d185f085539aaef01e16c29a2d69 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 22 Jan 2021 09:55:28 -0600 Subject: [PATCH] Fix C API function name of setting max instances (#2598) Forgot the trailing `_set` at the end... --- crates/c-api/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/c-api/src/config.rs b/crates/c-api/src/config.rs index ae0cb6abdc..5ca7e7a3ba 100644 --- a/crates/c-api/src/config.rs +++ b/crates/c-api/src/config.rs @@ -173,6 +173,6 @@ pub extern "C" fn wasmtime_config_dynamic_memory_guard_size_set(c: &mut wasm_con } #[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); }