diff --git a/appveyor.yml b/appveyor.yml index 687475bf40e..7b7b910aea5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,6 +23,7 @@ install: # For -gnu builds if ($env:TARGET -match "-gnu$") { + $env:PATH="$env:PATH;C:\msys64\mingw${env:BITS}\usr\bin" $env:PATH="$env:PATH;C:\msys64\mingw${env:BITS}\bin" # Remove the mingw gcc to keep it from interfering with the build Remove-Item -Recurse -Force "C:\rust\lib\rustlib\$env:TARGET\bin\"