Skip to content

Commit 3305423

Browse files
committed
fix(ci): install x86_64-musl
Signed-off-by: Lachezar Lechev <lachezar@lechev.space>
1 parent c358eb3 commit 3305423

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
steps:
4444
- name: Checkout Sources
4545
uses: actions/checkout@v4
46-
- name: Install Rust (thumbv7em)
46+
- name: Install Rust (thumbv7em, x86_64-musl targets)
4747
uses: dtolnay/rust-toolchain@master
4848
with:
4949
toolchain: ${{ matrix.rust }}
50-
target: thumbv7em-none-eabihf
50+
target: thumbv7em-none-eabihf, x86_64-unknown-linux-musl
5151
- name: Build - default features
5252
run: cargo build
5353
- name: Build - std
@@ -67,6 +67,8 @@ jobs:
6767
tool: cargo-fuzz
6868
- name: Fuzz (nightly only)
6969
if: ${{ matrix.rust == 'nightly' }}
70+
env:
71+
RUSTFLAGS: "-C target-feature=-crt-static"
7072
run: |
7173
cargo +nightly fuzz run init -- -max_total_time=900
7274
cargo +nightly fuzz run calibrate -- -max_total_time=1800

0 commit comments

Comments
 (0)