Skip to content

Commit 6709963

Browse files
committed
fix aarch64 compilation
1 parent 1f11674 commit 6709963

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.aarch64-unknown-linux-gnu]
2+
linker = "aarch64-linux-gnu-gcc"

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
uses: Swatinem/rust-cache@v2
3939
with:
4040
key: ${{ matrix.target }}
41+
42+
- name: Install Dependencies
43+
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
44+
run: sudo apt install -y gcc-aarch64-linux-gnu
45+
4146
- run: cargo build --target ${{ matrix.target }} --release
4247

4348
- name: Compress and rename executable

0 commit comments

Comments
 (0)