Browse Source

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

Forgot the trailing `_set` at the end...
pull/2604/head
Alex Crichton 4 years ago
committed by GitHub
parent
commit
55b0e8b9e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      crates/c-api/src/config.rs

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

Loading…
Cancel
Save