Skip to content

Commit

Permalink
export added for link
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Oct 7, 2024
1 parent 2985fa5 commit 305d552
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,9 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust
if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }}
uses: dtolnay/rust-toolchain@stable
with:
targets: "${{ matrix.target }}"

- uses: actions-rs/toolchain@v1
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
with:
toolchain: stable
target: aarch64-unknown-linux-gnu
override: true

- name: Setup Cache
uses: Swatinem/rust-cache@v2
Expand All @@ -71,6 +63,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc
#export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=/usr/bin/arm-linux-gnueabihf-gcc
- name: Build Binary
if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }}
Expand Down

0 comments on commit 305d552

Please sign in to comment.