Skip to content

Commit

Permalink
Add aarch64-unknown-linux-gnu linker
Browse files Browse the repository at this point in the history
Signed-off-by: Chaitanya Munukutla <[email protected]>
  • Loading branch information
c16a committed Aug 10, 2024
1 parent b4f4805 commit bbe8558
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
4 changes: 3 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Rust target
run: rustup target add ${{ matrix.target }}
run: |
apt install -y gcc-aarch64-linux-gnu
rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target=${{ matrix.target }} --release
4 changes: 3 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Rust target
run: rustup target add ${{ matrix.target }}
run: |
apt install -y gcc-aarch64-linux-gnu
rustup target add ${{ matrix.target }}
- name: Build
run: cargo build --target=${{ matrix.target }}

0 comments on commit bbe8558

Please sign in to comment.