Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update check-build.sh to allow newer Rust versions #2896

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/check-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ else
fi

# Step 7a: Check Rust version
if command_exists rustc && rustc --version | grep -q "1.80.1"; then
echo -e "${GREEN}Rust version 1.80.1 is installed.${NC}"
if command_exists rustc && { echo "1.80.1"; rustc --version | awk '{print $2}'; } | sort --version-sort --check; then
echo -e "${GREEN}Rust version 1.80.1 or newer is installed.${NC}"
else
echo -e "${RED}Rust version 1.80.1 not installed.${NC}"
echo -e "${RED}Rust version 1.80.1 or newer is not installed.${NC}"
EXIT_CODE=1
fi

Expand Down
Loading