We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588cfdd commit 8afe918Copy full SHA for 8afe918
crates/common/src/fileutils.rs
@@ -303,7 +303,8 @@ pub mod windows {
303
304
let GetFileInformationByName = GET_FILE_INFORMATION_BY_NAME
305
.get_or_init(|| {
306
- let library_name = OsString::from("api-ms-win-core-file-l2-1-4").to_wide_with_nul();
+ let library_name =
307
+ OsString::from("api-ms-win-core-file-l2-1-4.dll").to_wide_with_nul();
308
let module = unsafe { LoadLibraryW(library_name.as_ptr()) };
309
if module.is_null() {
310
return None;
0 commit comments