From 4b9aaf89624c4a0dab8f3922c592f9acd9e174f6 Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Wed, 3 Jan 2024 21:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=20mips=E5=B9=B3=E5=8F=B0=E4=BD=BF=E7=94=A8rust?= =?UTF-8?q?=201.71.1=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2681fc2..d2df19e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -123,7 +123,11 @@ jobs: MUSL_URI=mips-linux-musl-cross ;; esac - + if [[ $TARGET =~ ^mips.*$ ]]; then + # mips平台使用1.71.1版本 + rustup install 1.71.1 + rustup default 1.71.1 + fi if [ -n "$MUSL_URI" ]; then mkdir -p ./musl_gcc wget -c https://musl.cc/$MUSL_URI.tgz -P ./musl_gcc/