Remove hard coded linux aarch64 linker

This commit is contained in:
Caelan Sayler
2025-06-14 17:30:19 +01:00
committed by Caelan
parent 71dcc247b2
commit 595110fef6
2 changed files with 2 additions and 3 deletions

View File

@@ -6,6 +6,3 @@ tw = "test --features windows"
tw86 = "test --target i686-pc-windows-msvc --features windows"
bw = "build --features windows"
bw86 = "build --target i686-pc-windows-msvc --features windows"
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

View File

@@ -108,6 +108,8 @@ jobs:
cp ./target/x86_64-unknown-linux-gnu/release/libvelopack_libc.so ./artifacts/velopack_libc_linux_x64_gnu.so
cp ./target/x86_64-unknown-linux-gnu/release/libvelopack_libc.a ./artifacts/velopack_libc_linux_x64_gnu.a
- name: Build Rust (arm64)
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
run: |
cargo clean
cargo build --release --target aarch64-unknown-linux-gnu -p velopack_nodeffi -p velopack_libc