From af3b87df7af6ef8e723e116ad77ea5e391288482 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Fri, 29 Jul 2022 19:11:47 +1000 Subject: [PATCH] Fix releasae build: Install rust-src for release Signed-off-by: Jiahao XU --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67dda4b4..57d04169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,10 @@ jobs: if: "!matrix.use-cross" run: rustup target add ${{ matrix.target }} + - name: Install rust-src + if: inputs.for_release + run: rustup component add rust-src + - name: Select compile settings shell: bash run: |