Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit c90540b

Browse files
committed
Account for rust-toolchain when running CI
1 parent 8fe264e commit c90540b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

ci/run.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ OS=${1}
77
export RUST_BACKTRACE=full
88
#export RUST_TEST_NOCAPTURE=1
99

10-
rustup update nightly
11-
12-
cargo +nightly install rustup-toolchain-install-master
1310
if [ "${OS}" = "windows" ]; then
14-
rustup-toolchain-install-master -f -n master -c rustc-dev -c llvm-tools -i x86_64-pc-windows-msvc
15-
else
16-
rustup-toolchain-install-master -f -n master -c rustc-dev -c llvm-tools
11+
rustup set default-host x86_64-pc-windows-msvc
1712
fi
18-
rustup override set master
13+
14+
rustup component add rustc-dev llvm-tools-preview
1915

2016
cargo build
2117
cargo test --verbose -- --nocapture

0 commit comments

Comments
 (0)