From 733f5716788d2ba3ed86a4ab09472a8ffa4c38f7 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Tue, 15 Oct 2019 23:39:41 -0230 Subject: [PATCH] Fix MinGW on Windows --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 1ce4b851..09431e24 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,6 +12,8 @@ install: - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y - set PATH=%PATH%;C:\msys64\mingw64\bin;C:\Users\appveyor\.cargo\bin + - if "%TARGET%" == "x86_64-pc-windows-gnu" ( rustup component remove rust-mingw ) + - if "%TARGET%" == "x86_64-pc-windows-gnu" ( for %%I in (crt2.o dllcrt2.o libmingwex.a libmsvcrt.a) do xcopy /Y "C:\msys64\mingw64\x86_64-w64-mingw32\lib\%%I" "C:\Users\appveyor\.rustup\toolchains\stable-%TARGET%\lib\rustlib\%TARGET%\lib\" ) - rustc -Vv - cargo -V - git submodule update --init --recursive