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
This commit is contained in:
NimBold
2026-08-23 04:02:09 +03:30
parent 0ff0b28e9f
commit c34f2d2ae6
+1 -1
View File
@@ -33,7 +33,7 @@ pub fn file_identity(path: &Path) -> Option<String> {
std::ptr::null(),
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OPEN_REPARSE_POINT,
0,
std::ptr::null_mut(),
)
};
if handle == INVALID_HANDLE_VALUE {