From c55ff709e2869639b47bd7b7eae770e54e34617d Mon Sep 17 00:00:00 2001 From: Edoardo Marangoni Date: Wed, 27 Nov 2024 11:25:10 +0100 Subject: [PATCH] fix: Remove leftover lifetime specifiers in `export_name` attributes --- crates/c_api/src/frame.rs | 2 +- crates/c_api/src/trap.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/c_api/src/frame.rs b/crates/c_api/src/frame.rs index cdf6d887f7..84217651cf 100644 --- a/crates/c_api/src/frame.rs +++ b/crates/c_api/src/frame.rs @@ -70,7 +70,7 @@ pub extern "C" fn wasm_frame_module_offset(_frame: &wasm_frame_t<'_>) -> usize { /// /// This API is unsupported and will panic upon use. #[no_mangle] -#[cfg_attr(feature = "prefix-symbols", export_name = "wasmi_wasm_frame_copy<'a>")] +#[cfg_attr(feature = "prefix-symbols", export_name = "wasmi_wasm_frame_copy")] pub extern "C" fn wasm_frame_copy<'a>(_frame: &wasm_frame_t<'a>) -> Box> { unimplemented!("wasm_frame_copy") } diff --git a/crates/c_api/src/trap.rs b/crates/c_api/src/trap.rs index 0ff3877a5f..8412aad56f 100644 --- a/crates/c_api/src/trap.rs +++ b/crates/c_api/src/trap.rs @@ -103,7 +103,7 @@ pub extern "C" fn wasm_trap_origin(_raw: &wasm_trap_t) -> Option(_raw: &'a wasm_trap_t, _out: &mut wasm_frame_vec_t<'a>) { unimplemented!("wasm_trap_trace") }