diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-09 09:50:26 -0700 |
|---|---|---|
| committer | Hood Chatham <roberthoodchatham@gmail.com> | 2022-06-09 09:50:26 -0700 |
| commit | d2d205d0a87861aaa2ce3a39a65afc35a2beb55a (patch) | |
| tree | dfb116677b80fad4acf8d6db39d76b68c04afd8d /library/panic_unwind/src | |
| parent | 46a3f0feb6bee316a682bd8b62d3a0a0f2647619 (diff) | |
| download | rust-d2d205d0a87861aaa2ce3a39a65afc35a2beb55a.tar.gz rust-d2d205d0a87861aaa2ce3a39a65afc35a2beb55a.zip | |
Add underscores to rust_eh_personality arguments to mark them as unused
Diffstat (limited to 'library/panic_unwind/src')
| -rw-r--r-- | library/panic_unwind/src/emcc.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/panic_unwind/src/emcc.rs b/library/panic_unwind/src/emcc.rs index c458af10aad..1ee69ff9cb2 100644 --- a/library/panic_unwind/src/emcc.rs +++ b/library/panic_unwind/src/emcc.rs @@ -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. #[lang = "eh_personality"] unsafe extern "C" fn rust_eh_personality( - version: c_int, - actions: uw::_Unwind_Action, - exception_class: uw::_Unwind_Exception_Class, - exception_object: *mut uw::_Unwind_Exception, - context: *mut uw::_Unwind_Context, + _version: c_int, + _actions: uw::_Unwind_Action, + _exception_class: uw::_Unwind_Exception_Class, + _exception_object: *mut uw::_Unwind_Exception, + _context: *mut uw::_Unwind_Context, ) -> uw::_Unwind_Reason_Code { core::intrinsics::abort() } |
