Fix compilation failure on windows (#10983)

* Fix compilation failure on windows

* Test travis window build

* more tweak trigger travis build...

* Make more debug-friendly

* Fix shellcheck

* Revert .travis.yaml after testing on travis
This commit is contained in:
Ryo Onodera 2020-07-11 13:35:46 +09:00 committed by GitHub
parent f6f5842172
commit 4046f87134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -46,6 +46,15 @@ linux)
;;
windows)
TARGET=x86_64-pc-windows-gnu
# Enable symlinks used by some build.rs files
# source: https://stackoverflow.com/a/52097145/10242004
(
set -x
git --version
git config core.symlinks true
find . -type l -delete
git reset --hard
)
;;
*)
echo CI_OS_NAME unset