From ddcc169298dd54dc41a5de8f8bcae6e993a8ca83 Mon Sep 17 00:00:00 2001 From: flxkrmr Date: Sat, 2 Nov 2024 10:35:33 +0100 Subject: [PATCH] Try stuff --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 992eec4..9697a0c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -35,13 +35,13 @@ jobs: #- name: Build binary for Raspberry Pi # 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: Install ARM target for Rust - run: rustup target add armv7-unknown-linux-gnueabihf + run: rustup target add arm-unknown-linux-gnueabihf - name: Install dependencies for cross-compiling run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross - name: Build the project - run: cargo build --release --target=armv7-unknown-linux-gnueabihf + run: cargo build --release --target=arm-unknown-linux-gnueabihf - name: Upload binary uses: actions/upload-artifact@v3