fix: resolve aarch64-unknown-linux-musl build issue with cargo-zigbuild integration (#201)

- Enable install-cross-tools in GitHub Actions build workflow
- Add cargo-zigbuild support for Linux targets in build-rustfs.sh
- Prioritize cargo-zigbuild over cross tool for better glibc compatibility
- Add musl-specific environment variables for proper static linking
- Update error messages with Linux-specific build suggestions
- Configure Zig compiler environment for musl targets
This commit is contained in:
安正超
2025-07-14 19:31:30 +08:00
committed by GitHub
parent b9bbae27de
commit 9284f64e2a
2 changed files with 43 additions and 3 deletions
+1
View File
@@ -185,6 +185,7 @@ jobs:
cache-shared-key: build-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
github-token: ${{ secrets.GITHUB_TOKEN }}
cache-save-if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
install-cross-tools: true
- name: Build RustFS using build-rustfs.sh
run: |