Use cargo-zigbuild for cross compilation (#767)

* Disable link arg `-lgcc` for musl builds when `cargo-zigbuild` is used

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-02-15 09:19:59 +11:00 committed by GitHub
parent 3fffe39635
commit 647f02bb59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
JUST_USE_CROSS: true
JUST_USE_CARGO_ZIGBUILD: true
steps:
- uses: actions/checkout@v3