Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 23cbddf

Browse files
committed
fix cross-compiling ci
1 parent 5912d1d commit 23cbddf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
echo [target.${{ matrix.target }}] > .cargo/config.toml
5353
echo linker = '"'${{ matrix.linker }}'"' >> .cargo/config.toml
5454
55+
- name: Install cross-compiling toolchain
56+
if: matrix.cross
57+
run: rustup target add ${{ matrix.target }}
58+
5559
- name: Build
5660
if: "!matrix.cross"
5761
run: cargo build --release --verbose

0 commit comments

Comments
 (0)