Fix release build: Set RUSTFLAGS to link with libgcc statically

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-31 13:12:27 +10:00
parent af3b87df7a
commit 9e5ff25be8
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 10 additions and 0 deletions

View file

@ -110,6 +110,8 @@ jobs:
- name: Build
run: ${{ env.CTOOL }} build ${{ env.CARGS }}
env:
RUSTFLAGS: ${{ env.RUSTFLAGS }}
- name: Get output
shell: bash