mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
compiling yazi-cli for windows
```
error[E0432]: unresolved import `windows_sys::Win32::Storage::FileSystem::CreateFileW`
--> yazi-term\src\tty\handle.rs:134:139
|
134 | ... Storage::FileSystem::{CreateFileW, FILE_SHARE_READ, FILE_SHARE_WRITE, OPEN_EXISTING}, System::Console::Get...
| ^^^^^^^^^^^ no `CreateFileW` in `Win32::Storage::FileSystem`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `yazi-term` (lib) due to 1 previous error
```
This commit is contained in:
parent
db60951783
commit
dc1f06dc5d
1 changed files with 1 additions and 1 deletions
|
|
@ -27,4 +27,4 @@ libc = { workspace = true }
|
|||
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { version = "0.59.0", features = [ "Win32_Globalization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Console", "Win32_System_Threading" ] }
|
||||
windows-sys = { version = "0.59.0", features = [ "Win32_Globalization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Console", "Win32_System_Threading","Win32_Foundation", "Win32_Security"] }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue