From c2be920c27015890bfd0c11607c8d06548f8974f Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sat, 3 May 2025 23:58:49 +0200 Subject: [PATCH] split jobs? --- .github/workflows/rust.yml | 2 +- example/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a82aa18..5578416 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -50,7 +50,7 @@ jobs: - name: Install toolchain run: sudo apt-get install -qy liblzma-dev gcc make pkgconf musl-dev musl-tools rustup - name: install rust target - run: rustup toolchain install beta -t aarch64-unknown-linux-musl --no-self-update + run: rustup toolchain install beta -t aarch64-unknown-linux-musl -c rust-src --no-self-update - name: build example -- musl release run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run beta cargo" diff --git a/example/Makefile b/example/Makefile index 9f1ff5f..a35aa5c 100644 --- a/example/Makefile +++ b/example/Makefile @@ -92,7 +92,7 @@ all: $(_bins) clean: clean-c clean-rust clean-c: - rm -r out || true + rm -r $(OUT_DIR) || true clean-rust: rm $(SERVICEPOINT_HEADER_OUT)/servicepoint.h || true