Add fileapi feature gate of winapi (#281)

When building some apps, it throws an error at  winapi::um::fileapi::GetFullPathNameW as "could not find `fileapi` in `um`". This PR fixes the error.
This commit is contained in:
Arnab Animesh Das 2022-03-15 13:18:45 +05:30 committed by GitHub
parent 9dcbac0285
commit 1e5dbad4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,8 @@ features = [
"winuser",
"wingdi",
"libloaderapi",
"errhandlingapi"
"errhandlingapi",
"fileapi"
]
[features]