Skip to content

Commit d79a383

Browse files
committed
fixup! ci install_extra_deps: let rust-toolchain.toml control toolchain
1 parent a4e429b commit d79a383

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ci/container_scripts/install_extra_deps.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ case "$CC" in
5959
;;
6060
esac
6161

62-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path
63-
rustup set profile minimal
62+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none --profile minimal
63+
source "$HOME/.cargo/env"
64+
6465
if [ "${BUILDTYPE:-}" = coverage ]
66+
then
6567
# Add a directory override, which overrides rust-toolchain.toml
6668
rustup override set nightly-2022-10-14
6769
fi
6870

69-
PATH="$HOME/.cargo/bin:$PATH"
70-
7171
# For debugging
7272
cargo --version
7373

0 commit comments

Comments
 (0)