mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-02 05:57:59 +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(),
|
std::ptr::null(),
|
||||||
OPEN_EXISTING,
|
OPEN_EXISTING,
|
||||||
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OPEN_REPARSE_POINT,
|
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OPEN_REPARSE_POINT,
|
||||||
0,
|
std::ptr::null_mut(),
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
if handle == INVALID_HANDLE_VALUE {
|
if handle == INVALID_HANDLE_VALUE {
|
||||||
|
|||||||
Reference in New Issue
Block a user