From 2548718b4833d575e8b70e1c0c7220ec0d8fb191 Mon Sep 17 00:00:00 2001
From: spencerwooo <spencer.woo@outlook.com>
Date: Mon, 27 Nov 2023 18:09:59 +0800
Subject: [PATCH] build essential package for aarch64

---
 .github/workflows/release.yml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 28d805b..765c4c5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,8 +24,8 @@ jobs:
         target:
           - x86_64-unknown-linux-gnu
           - x86_64-unknown-linux-musl
-          # - aarch64-unknown-linux-gnu
-          # - aarch64-unknown-linux-musl
+          - aarch64-unknown-linux-gnu
+          - aarch64-unknown-linux-musl
           - x86_64-pc-windows-msvc
           - i686-pc-windows-msvc
           - x86_64-apple-darwin
@@ -40,14 +40,14 @@ jobs:
             os: ubuntu-22.04
             target-apt-arch: amd64
             cross: false
-          # - target: aarch64-unknown-linux-gnu
-          #   os: ubuntu-22.04
-          #   target-apt-arch: arm64
-          #   cross: true
-          # - target: aarch64-unknown-linux-musl
-          #   os: ubuntu-22.04
-          #   target-apt-arch: arm64
-          #   cross: true
+          - target: aarch64-unknown-linux-gnu
+            os: ubuntu-22.04
+            target-apt-arch: arm64
+            cross: true
+          - target: aarch64-unknown-linux-musl
+            os: ubuntu-22.04
+            target-apt-arch: arm64
+            cross: true
           - target: x86_64-pc-windows-msvc
             os: windows-latest
             cross: false
@@ -93,7 +93,7 @@ jobs:
           sudo apt-get -yq update
           # libc6 must be present to run executables dynamically linked
           # against glibc for the target architecture
-          sudo apt-get -yq install qemu-user gcc-aarch64-linux-gnu libc6:arm64
+          sudo apt-get -yq install qemu-user crossbuild-essential-arm64 libc6:arm64
 
       - name: Install Rust toolchain
         uses: dtolnay/rust-toolchain@stable