Fix releasae build: Install rust-src for release

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-29 19:11:47 +10:00
parent 7a7220b1a2
commit af3b87df7a
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -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: |