raw-dylib
doesn't work on Windows with x86_64-pc-windows-gnu
#140704
Labels
C-bug
Category: This is a bug.
Note: This is the same bug as #103939.
But now it also happens when compiling on Windows using the
x86_64-pc-windows-gnu
toolchain and compiling forx86_64-pc-windows-gnu
. This is a common default scenario without any cross-compiling involved.I tried this code:
I expected to see this happen:
Successful compilation
Instead, this happened:
Meta
rustc --version --verbose
:Workaround
The same workaround as discussed in #103939 also works for this issue: Putting an LLVM dlltool renamed to
dlltool.exe
in yourPATH
.This was considered fine as a temporary workaround in #103939, because fixing the cross-compilation issue didn't seem urgent. However, this is now affecting the default compilation on
x86_64-pc-windows-gnu
, hence I hope for a permanent fix soon.The text was updated successfully, but these errors were encountered: