Commit 1767701
fix(ci): force MSVC host toolchain on Windows to prevent dlltool errors
The self-hosted Windows runner has a persistent rustup settings file with
default_host_triple set to x86_64-pc-windows-gnu. This causes rustup to
install the GNU-hosted toolchain, which requires dlltool.exe (not present),
producing flaky builds.
- Add `rustup set default-host x86_64-pc-windows-msvc` before toolchain
install in both the composite action and the Taskfile
- Pass PINNED_RUST explicitly from the composite action to task ci:setup
on Windows, bypassing unreliable grep/awk resolution in Task's sh:
- Add host verification to the setup-rust-windows status check
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f74c32f commit 1767701
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| |||
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments