From 92ae0e5460ab00985b3476380cd3d3c9a36bc2cd Mon Sep 17 00:00:00 2001 From: tiann Date: Sun, 26 Mar 2023 17:34:47 +0800 Subject: [PATCH] ci: Fix cross build error with Rust 1.68 --- .github/workflows/ksud.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ksud.yml b/.github/workflows/ksud.yml index a0982183..d3df229d 100644 --- a/.github/workflows/ksud.yml +++ b/.github/workflows/ksud.yml @@ -16,7 +16,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - + # cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222 + - run: rustup default 1.67.0 - uses: Swatinem/rust-cache@v2 with: workspaces: userspace/ksud @@ -33,4 +34,3 @@ jobs: with: name: ksud-${{ inputs.target }} path: userspace/ksud/target/**/release/ksud -