mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
* fix: Resolve zstd-sys Zig compilation issues - Remove specific Zig version constraint in action.yml to use default version - Clean up duplicate environment variable settings in build-rustfs.sh - Add CARGO_TARGET_*_LINKER environment variables for better cross-compilation support - Optimize build configuration for consistent cross-platform compilation Fixes compilation issues with zstd-sys when using Zig cross-compilation. Aligns with previously working configuration that uses default Zig version. * fix: Restore working build configuration from4fb4b353- Restore matrix.cross parameter to differentiate cross-compilation - Use simple cargo zigbuild instead of complex build-rustfs.sh script - Remove unnecessary zstd dependencies from action.yml - Restore console asset download step - Use correct target directory path for packaging - Align with known working configuration from commit4fb4b353This reverts to the proven working build approach that successfully performed cross-platform compilation. * fix: Align build-rustfs.sh with working version logic - Simplify build logic to match working version4fb4b353- Use exact same build commands as the working build.yml: * cargo build for native compilation * cargo zigbuild for Linux ARM64 cross-compilation * cross build for Windows ARM64 cross-compilation - Remove complex environment variable setup that caused conflicts - Add touch rustfs/build.rs to match working version - Use -p rustfs --bins flag consistent with working version This ensures build-rustfs.sh (if used) follows the proven working approach.