Skip to content

Commit

Permalink
Another compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
flxkrmr authored Feb 18, 2024
1 parent afa73ac commit 43b9bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
target: arm-unknown-linux-musleabihf

- name: Install dependencies for cross-compilation
run: sudo apt-get install -y musl-dev musl-tools
run: sudo apt-get install -y musl-dev musl-tools gcc-arm-linux-gnueabihf

- name: Build binary for Raspberry Pi
run: CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld REALGCC=arm-linux-gnueabihf-gcc-8 TARGET_CC=musl-gcc cargo build --release --target=arm-unknown-linux-musleabihf
run: CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld REALGCC=gcc-arm-linux-gnueabihf TARGET_CC=musl-gcc cargo build --release --target=arm-unknown-linux-musleabihf

- name: Upload binary
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 43b9bdf

Please sign in to comment.