Skip to content

Commit 54d576f

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
set env vars for arm64 musl build
1 parent 47d2ad5 commit 54d576f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pipelines/DSC-Official.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ extends:
316316
env:
317317
ob_restore_phase: true
318318
- pwsh: |
319+
$env:CC_aarch64_unknown_linux_musl='clang'
320+
$env:AR_aarch64_unknown_linux_musl='llvm-ar'
321+
$env:CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"
319322
apt -y install musl-tools
320323
./build.ps1 -Release -Architecture aarch64-unknown-linux-musl
321324
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-musl -Release

0 commit comments

Comments
 (0)