Skip to content

Commit

Permalink
fix: Remove leftover lifetime specifiers in export_name attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Nov 27, 2024
1 parent 3cc50b7 commit c55ff70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/c_api/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<wasm_frame_t<'a>> {
unimplemented!("wasm_frame_copy")
}
2 changes: 1 addition & 1 deletion crates/c_api/src/trap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub extern "C" fn wasm_trap_origin(_raw: &wasm_trap_t) -> Option<Box<wasm_frame_
///
/// This API is unsupported and will panic upon use.
#[no_mangle]
#[cfg_attr(feature = "prefix-symbols", export_name = "wasmi_wasm_trap_trace<'a>")]
#[cfg_attr(feature = "prefix-symbols", export_name = "wasmi_wasm_trap_trace")]
pub extern "C" fn wasm_trap_trace<'a>(_raw: &'a wasm_trap_t, _out: &mut wasm_frame_vec_t<'a>) {
unimplemented!("wasm_trap_trace")
}

0 comments on commit c55ff70

Please sign in to comment.