From 876d766d61f446b9cd57acd9d3cba8a8139ed946 Mon Sep 17 00:00:00 2001 From: Matt <1009003+tantaman@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:30:58 -0400 Subject: [PATCH] win targets, not toolchains, for cross-compile --- .github/workflows/publish.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4c5e6d56a..f0fdc9dbd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -114,6 +114,7 @@ jobs: run: | rustup toolchain install nightly-2023-10-05 rustup target add aarch64-unknown-linux-gnu --toolchain nightly-2023-10-05 + rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu - name: Build run: | @@ -145,10 +146,9 @@ jobs: - name: Rust Nightly run: | - rm core/rs/bundle_static/rust-toolchain.toml - rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu - rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-pc-windows-gnu - rustup default nightly-2023-10-05-x86_64-pc-windows-gnu + rustup toolchain install nightly-2023-10-05 + rustup target add x86_64-pc-windows-gnu --toolchain nightly-2023-10-05 + rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu - name: Build run: | @@ -180,10 +180,8 @@ jobs: - name: Rust Nightly run: | - rm core/rs/bundle_static/rust-toolchain.toml - rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu - rustup component add rust-src --toolchain nightly-2023-10-05-i686-pc-windows-gnu - rustup default nightly-2023-10-05-i686-pc-windows-gnu + rustup toolchain install nightly-2023-10-05 + rustup target add i686-pc-windows-gnu --toolchain nightly-2023-10-05 - name: Build run: |