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 }}