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