tekumara / typos-lsp

Source code spell checker for Visual Studio Code, Neovim and other LSP clients
https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode
MIT License
168 stars 4 forks source link

error LNK2019: unresolved external symbol _GetLogicalDrives #33

Closed tekumara closed 5 months ago

tekumara commented 5 months ago

The windows 32-bit release build is failing with:

  = note: libtypos_lsp-dda1aca84f2c5a63.rlib(typos_lsp-dda1aca84f2c5a63.typos_lsp.eadda57265c587f5-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol _GetLogicalDrives referenced in function __ZN9typos_lsp5state12BackendState13update_router17h50646cd0761b34f9E.llvm.11224600574678780910
          D:\a\typos-vscode\typos-vscode\target\i686-pc-windows-msvc\release\deps\typos_lsp.exe : fatal error LNK1120: 1 unresolved externals

This is blocking the release.

tekumara commented 5 months ago

This looks relevant https://github.com/ogham/rust-ansi-term/pull/33

tekumara commented 5 months ago

Alternatively we could switch to the windows crate (which supersedes the winapi crate) as per https://github.com/ogham/rust-ansi-term/issues/31#issuecomment-358811617