Skip to content

Commit

Permalink
fix: construct cargo toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 16, 2024
1 parent e0a5248 commit e7519dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Setup Cargo Config
run: |
mkdir -p .cargo
echo "[target.aarch64-unknown-linux-gnu]" >> ./.cargo/config.toml
echo 'linker = "aarch64-linux-gnu-gcc"' >> ./.cargo/config.toml
- name: Install Rust Toolchains
run: rustup target add x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
- name: Run tests
Expand Down
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ edition = "2021"

[dependencies]

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

0 comments on commit e7519dc

Please sign in to comment.