diff --git a/.cargo/config.toml b/.cargo/config.toml index 69f21941..e2f1d557 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -11,3 +11,6 @@ rustflags = [ "-C", "link-args=/NODEFAULTLIB:libucrt.lib /NODEFAULTLIB:libucrtd.lib /NODEFAULTLIB:ucrtd.lib", ] + +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5791308c..b7a06dd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,6 +59,10 @@ jobs: override: true profile: minimal + - name: Install aarch64 c toolchain + run: apt-get install -y --force-yes --no-install-recommends gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross + if: ${{ matrix.cargo-target == "aarch64-unknown-linux-gnu" }} + - name: Build Binary (All features) run: cargo build --verbose --locked --release --all-features --target ${{ matrix.cargo-target }} env: