Skip to content

Commit 409244a

Browse files
committed
ci(backend): 添加CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER环境变量
在构建过程中为aarch64目标平台指定链接器,以确保正确编译
1 parent aa182a0 commit 409244a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/backend.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ jobs:
129129
cargo build --release --target ${{ matrix.target.target }}
130130
env:
131131
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
132+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
132133

133134
- name: Prepare binary
134135
shell: bash

0 commit comments

Comments
 (0)