From b78079ce93afc6694ab5504ea1d25db4dc2f914d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Thu, 7 Nov 2024 01:48:53 -0800 Subject: [PATCH] C API: Fix function name of compilation mode setter (#1298) fix function name of compilation mode setter --- 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 a11d344f0a..62e418adf4 100644 --- a/crates/c_api/src/config.rs +++ b/crates/c_api/src/config.rs @@ -141,7 +141,7 @@ pub enum wasmi_compilation_mode_t { /// /// Wraps [`wasmi::Config::compilation_mode`] #[no_mangle] -pub extern "C" fn wasmi_config_set_compilation_mode( +pub extern "C" fn wasmi_config_compilation_mode_set( config: &mut wasm_config_t, mode: wasmi_compilation_mode_t, ) {