From 431a1b3b3703b0c919731f029565ae3db285716d Mon Sep 17 00:00:00 2001 From: core Date: Tue, 10 Oct 2023 18:22:55 -0400 Subject: [PATCH] Update .forgejo/workflows/tfclient.yml --- .forgejo/workflows/tfclient.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/tfclient.yml b/.forgejo/workflows/tfclient.yml index 1c11e23..6e54738 100644 --- a/.forgejo/workflows/tfclient.yml +++ b/.forgejo/workflows/tfclient.yml @@ -48,10 +48,10 @@ jobs: run: rustup target add aarch64-unknown-linux-gnu - name: Install additional dependencies run: apt update && apt-get install -y libclang-dev clang sshpass rsync gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu - - name: Set RUSTFLAGS - run: echo "-C linker=arm-linux-androideabi-gcc" >> $RUSTFLAGS - name: Compile release binary uses: https://github.com/actions-rs/cargo@v1 + env: + RUSTFLAGS: "-C linker=aarch64-linux-gnu-gcc" with: command: build args: --release --bin tfclient --target aarch64-unknown-linux-gnu