Closed Schroedingers-Cat closed 2 years ago
Thanks for reporting. Sounds like a minor update in a dependency that's not so minor after all.
@Schroedingers-Cat Do you still have this issue? I just removed my local Cargo.lock
, even renamed all gcc.exe
files on my machine ... and it worked. But hey, aren't you building with the wrong toolchain? Looks like your target is x86_64-pc-windows-gnu
(see your log). It must be x86_64-pc-windows-msvc
.
Please reopen if you still have this issue.
Will try out if it works with GCC removed. But that sounds promising!
But hey, aren't you building with the wrong toolchain? Looks like your target is x86_64-pc-windows-gnu (see your log). It must be x86_64-pc-windows-msvc.
My default target is msvc (see my other terminal output). I tried forcing cargo into using msvc when building but even then cargo built the dependency wepoll-ffi
with the gnu toolchain and failed if it wasn't available.
Running
cargo build
fails for the dependencywepoll-ffi
on Windows 10 if mingw and the gnu-toolchain aren't installed:Additional info:
Installing
mingw
via chocolatey and the gnu toolchain via rustup fixes the issue:The docs don't mention this, so I'm wondering if there's a recent change anywhere in the dependencies or if it's just missing.