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

View File

@ -46,6 +46,15 @@ linux)
;; ;;
windows) windows)
TARGET=x86_64-pc-windows-gnu 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 echo CI_OS_NAME unset