You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MinGW: also copy libmingwex.a from C toolchain
Fixes recent CI error:
```
note: C:\Program Files (x86)\Rust\lib\rustlib\i686-pc-windows-gnu\lib/libmsvcrt.a(dyims01169.o):(.text+0x0): multiple definition of `longjmp'
C:\Program Files (x86)\Rust\lib\rustlib\i686-pc-windows-gnu\lib/libmingwex.a(lib32_libmingwex_a-mingw_getsp.o):mingw_getsp.S:(.text+0x5): first defined here
```
Successful build: https://ci.appveyor.com/project/mati865/libc/builds/26425673
It also should be added to Azure in #1376
- if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
17
+
- if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmingwex.a libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
0 commit comments