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