From c34f2d2ae6b852d9f7b0209c40a70c0a89ec2801 Mon Sep 17 00:00:00 2001 From: NimBold Date: Sun, 23 Aug 2026 04:02:09 +0330 Subject: [PATCH] fix(ci): correct Windows handle initialization - pass the Win32 null template handle with the binding's pointer type - keep stable file-identity lookup compilable on the MSVC target --- src-tauri/src/platform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/platform.rs b/src-tauri/src/platform.rs index fe1f00a..2911588 100644 --- a/src-tauri/src/platform.rs +++ b/src-tauri/src/platform.rs @@ -33,7 +33,7 @@ pub fn file_identity(path: &Path) -> Option { std::ptr::null(), OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OPEN_REPARSE_POINT, - 0, + std::ptr::null_mut(), ) }; if handle == INVALID_HANDLE_VALUE {