Skip to content

Commit d8166bf

Browse files
committed
Travis: Add rustc sysroot bin to PATH for windows build
1 parent 6253d45 commit d8166bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/base-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ cd clippy_dev && cargo test && cd ..
2828
./util/dev update_lints --check
2929
cargo +nightly fmt --all -- --check
3030

31+
# Add bin to PATH for windows
32+
PATH=$PATH:$(rustc --print sysroot)/bin
33+
3134
CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
3235
# run clippy on its own codebase...
3336
${CLIPPY} --all-targets --all-features -- -D clippy::all -D clippy::internal -Dclippy::pedantic

0 commit comments

Comments
 (0)