mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-05 12:57:42 +00:00
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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user