From 1e5dbad4b817c23cad1c20aef58e4d0a8f6d902e Mon Sep 17 00:00:00 2001 From: Arnab Animesh Das <6032584+arnabanimesh@users.noreply.github.com> Date: Tue, 15 Mar 2022 13:18:45 +0530 Subject: [PATCH] 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. --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2b17cf8..7db1aad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,8 @@ features = [ "winuser", "wingdi", "libloaderapi", - "errhandlingapi" + "errhandlingapi", + "fileapi" ] [features]