mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Build was failing with: component download failed for rust-std-aarch64-apple-ios-sim: could not rename downloaded file from '.../9362b66...partial' to '.../9362b66...': No such file or directory One of the iOS pods (likely reown_walletkit's yttrium FFI or similar) invokes rustup mid-build to fetch iOS targets. When the pod build runs multiple targets in parallel, multiple rustup processes race on the same .partial download file — one finishes/renames, the next looks for the .partial that's no longer there. Fix: add a workflow step that runs before pod install + flutter build: - Install rustup if missing (idempotent — self-hosted runner persists). - Wipe any stale *.partial files (debris from previous racing). - rustup target add the three iOS triples serially. That way the pod's mid-build rustup invocation finds everything already installed and just no-ops.