From 2abbd8faeb6bd2946a512ff41a1189ddaf2811f4 Mon Sep 17 00:00:00 2001 From: Isaiah Inuwa Date: Thu, 18 Dec 2025 09:55:48 -0600 Subject: [PATCH] Use extern C instead of cdecl --- apps/desktop/desktop_native/win_webauthn/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/win_webauthn/src/util.rs b/apps/desktop/desktop_native/win_webauthn/src/util.rs index a02b30626d4..f8b1fa9fb2d 100644 --- a/apps/desktop/desktop_native/win_webauthn/src/util.rs +++ b/apps/desktop/desktop_native/win_webauthn/src/util.rs @@ -23,7 +23,7 @@ macro_rules! webauthn_call { ), )?; - let function: unsafe extern "cdecl" fn( + let function: unsafe extern "C" fn( $($arg: $arg_type),* ) -> $result_type = std::mem::transmute_copy(&address); function($($arg),*)