Skip to content
Snippets Groups Projects
Commit 7c4ad15f authored by trinity-1686a's avatar trinity-1686a
Browse files

use default toolchain from rustup instead of stable for coverage

using stable doesn't work for CI because a specific version like 1.60 is installed
parent 98ed22ba
No related branches found
No related tags found
1 merge request!451use rustc 1.60 for coverage
......@@ -64,7 +64,8 @@ if [ $# -eq 0 ] && [ $interactive = "no" ]; then
echo "Run ${SCRIPT_NAME} -h for help."
exit 1
fi
echo "Using toolchain +${RUST_COVERAGE_TOOLCHAIN:=stable}. (Override with \$RUST_COVERAGE_TOOLCHAIN)"
default_toolchain=$(rustup show active-toolchain | cut -d' ' -f1)
echo "Using toolchain +${RUST_COVERAGE_TOOLCHAIN:=${default_toolchain}}. (Override with \$RUST_COVERAGE_TOOLCHAIN)"
# Validate that "+${RUST_COVERAGE_TOOLCHAIN}" is installed. This will log a message to stderr
# if it isn't.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment