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:
@ -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
|
||||||
|
Reference in New Issue
Block a user