Add underscores to rust_eh_personality arguments to mark them as unused
This commit is contained in:
parent
46a3f0feb6
commit
d2d205d0a8
1 changed files with 5 additions and 5 deletions
|
@ -111,11 +111,11 @@ extern "C" fn exception_cleanup(ptr: *mut libc::c_void) -> *mut libc::c_void {
|
||||||
// Wasm error handling would use __gxx_personality_wasm0.
|
// Wasm error handling would use __gxx_personality_wasm0.
|
||||||
#[lang = "eh_personality"]
|
#[lang = "eh_personality"]
|
||||||
unsafe extern "C" fn rust_eh_personality(
|
unsafe extern "C" fn rust_eh_personality(
|
||||||
version: c_int,
|
_version: c_int,
|
||||||
actions: uw::_Unwind_Action,
|
_actions: uw::_Unwind_Action,
|
||||||
exception_class: uw::_Unwind_Exception_Class,
|
_exception_class: uw::_Unwind_Exception_Class,
|
||||||
exception_object: *mut uw::_Unwind_Exception,
|
_exception_object: *mut uw::_Unwind_Exception,
|
||||||
context: *mut uw::_Unwind_Context,
|
_context: *mut uw::_Unwind_Context,
|
||||||
) -> uw::_Unwind_Reason_Code {
|
) -> uw::_Unwind_Reason_Code {
|
||||||
core::intrinsics::abort()
|
core::intrinsics::abort()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue