Skip to content

Commit

Permalink
Fix undefined references to __acrt_iob_func() on AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Jan 20, 2018
1 parent ce33b88 commit 021ae3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ install:
- bash -lc "pacman --noconfirm -Sy"
- bash -lc "pacman --noconfirm -S mingw-w64-x86_64-toolchain"
-
# Fix undefined references to __acrt_iob_func()
- sed -rie "s/#define std([[:alpha:]]+)[[:space:]]+\(__acrt_iob_func\(([[:digit:]]+)\)\)/#define std\1 (\&__iob_func()[\2])/" "C:\msys64\mingw64\x86_64-w64-mingw32\include\stdio.h"
-
- curl -SL https://win.rustup.rs/ -oC:\rustup-init.exe
- C:\rustup-init.exe -y --default-host="x86_64-pc-windows-gnu"

Expand Down

0 comments on commit 021ae3e

Please sign in to comment.