mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-01 21:48:00 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user