diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index fbdbd41a67..d18ccf9ed8 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -97,7 +97,7 @@ jobs: - name: Build Rust dependencies (Linux) if: ${{ contains(matrix.os-name, 'linux') }} run: | - apt update && apt install -y musl-dev + sudo apt update && sudo apt install -y musl-dev export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc export CC=aarch64-linux-gnu-gcc cargo build --target aarch64-unknown-linux-musl --release