Skip to content

Commit 5389f66

Browse files
committed
win targets, not toolchains, for cross-compile
1 parent 960e323 commit 5389f66

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
run: |
115115
rustup toolchain install nightly-2023-10-05
116116
rustup target add aarch64-unknown-linux-gnu --toolchain nightly-2023-10-05
117+
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
117118
118119
- name: Build
119120
run: |
@@ -145,10 +146,9 @@ jobs:
145146

146147
- name: Rust Nightly
147148
run: |
148-
rm core/rs/bundle_static/rust-toolchain.toml
149-
rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu
150-
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-pc-windows-gnu
151-
rustup default nightly-2023-10-05-x86_64-pc-windows-gnu
149+
rustup toolchain install nightly-2023-10-05
150+
rustup target add x86_64-pc-windows-gnu --toolchain nightly-2023-10-05
151+
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
152152
153153
- name: Build
154154
run: |
@@ -180,10 +180,8 @@ jobs:
180180

181181
- name: Rust Nightly
182182
run: |
183-
rm core/rs/bundle_static/rust-toolchain.toml
184-
rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu
185-
rustup component add rust-src --toolchain nightly-2023-10-05-i686-pc-windows-gnu
186-
rustup default nightly-2023-10-05-i686-pc-windows-gnu
183+
rustup toolchain install nightly-2023-10-05
184+
rustup target add i686-pc-windows-gnu --toolchain nightly-2023-10-05
187185
188186
- name: Build
189187
run: |

0 commit comments

Comments
 (0)