From 9ef8099659678f7bec318ea77e5ee9acd093c297 Mon Sep 17 00:00:00 2001 From: Mike Foster Date: Thu, 7 May 2026 14:43:56 +0000 Subject: [PATCH] fix installation of target for cross-builds in CI --- .github/workflows/rust-publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-publish.yml b/.github/workflows/rust-publish.yml index 3ae6e5e..87d6454 100644 --- a/.github/workflows/rust-publish.yml +++ b/.github/workflows/rust-publish.yml @@ -138,7 +138,10 @@ jobs: # Install manually as different crates may have custom toolchains defined - name: install rust - run: rustup set profile default && rustup install --target ${{ matrix.target }} + run: | + rustup set profile default + rustup install + rustup target add ${{ matrix.target }} - name: install zig for cross compilation uses: mlugg/setup-zig@v2