diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2681fc2..632d147 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/