Skip to content

Commit 2991f31

Browse files
committed
Add master toolchain binaries to the PATH
1 parent ac6e52a commit 2991f31

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ script:
9191
- |
9292
rm rust-toolchain
9393
./setup-toolchain.sh
94-
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
94+
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
95+
export PATH=$PATH:$(rustc --print sysroot)/bin
96+
else
97+
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
98+
fi
9599
- |
96100
if [ -z ${INTEGRATION} ]; then
97101
travis_wait 30 ./ci/base-tests.sh && sleep 5

0 commit comments

Comments
 (0)