From e6676339c9d37a6000f69b76ac7657e255a7c219 Mon Sep 17 00:00:00 2001 From: james58899 Date: Sat, 16 Mar 2024 09:21:08 +0000 Subject: [PATCH] Try not nightly --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd66177..05df588 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,16 +55,16 @@ jobs: - name: Install toolchain run: | rustup update - rustup toolchain install nightly - rustup target add --toolchain nightly ${{ matrix.target }} + rustup target add ${{ matrix.target }} - name: Build env: + __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS: "nightly" CARGO_HOST_LINKER: "clang" CARGO_HOST_RUSTFLAGS: "-Clink-arg=-fuse-ld=lld" CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=x86_64-unknown-linux-gnu" CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=aarch64-unknown-linux-gnu" CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=armv7-unknown-linux-gnueabihf" - run: cargo +nightly -Ztarget-applies-to-host -Zhost-config build --verbose --release --target=${{ matrix.target }} + run: cargo -Ztarget-applies-to-host -Zhost-config build --verbose --release --target=${{ matrix.target }} - uses: actions/upload-artifact@v4 with: name: hath-rust-${{ matrix.target }}