Skip to content

Commit 131acf2

Browse files
committed
attempt to fix musl
1 parent 0067c07 commit 131acf2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@ jobs:
6767
shell: bash
6868
run: rm -rf libs && mkdir -p libs
6969

70+
- name: Set up Rust
71+
if: matrix.container != 'alpine:latest'
72+
uses: dtolnay/rust-toolchain@stable
73+
7074
- name: Install musl tools for cross-compile
7175
if: matrix.build_musl == true
7276
run: |
7377
sudo apt-get update
74-
sudo apt-get install -y musl-tools
75-
76-
- name: Set up Rust
77-
if: matrix.container != 'alpine:latest'
78-
uses: dtolnay/rust-toolchain@stable
78+
sudo apt-get install -y musl-tools gcc-aarch64-linux-gnu
79+
rustup target add aarch64-unknown-linux-musl
7980
8081
- name: Add musl target
8182
if: matrix.build_musl == true

0 commit comments

Comments
 (0)