From 485ce1e33e84fbc0a570f3b217a0c6c9bc6fe62d Mon Sep 17 00:00:00 2001 From: james58899 Date: Tue, 19 Mar 2024 12:15:08 +0000 Subject: [PATCH] Try build-std --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 151d379..a5aefe7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,12 +48,14 @@ jobs: - name: Install toolchain run: | rustup update - rustup target add ${{ matrix.target }} + rustup toolchain install nightly + rustup component add --toolchain nightly rust-src + rustup target add --toolchain nightly ${{ matrix.target }} - name: Build env: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: "aarch64-linux-gnu-gcc" CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: "arm-linux-gnueabihf-gcc" - run: cargo build --verbose --release --target=${{ matrix.target }} + run: cargo +nightly build -Z build-std --verbose --release --target=${{ matrix.target }} - uses: actions/upload-artifact@v4 with: name: hath-rust-${{ matrix.target }}