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