Skip to content

Commit

Permalink
try: use rustup to install target
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 15, 2024
1 parent 6de2937 commit 4b671cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-linux-gnueabihf
- name: Install Rustup targets
run: rustup target add aarch64-unknown-linux-gnu
- name: Run tests
run: cargo test --verbose
- name: Build
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ version = "0.1.0"
edition = "2021"

[dependencies]

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
ar = "aarch64-linux-gnu-ar"

0 comments on commit 4b671cc

Please sign in to comment.