Skip to content

Commit 6cf7788

Browse files
fix(ci): use fully qualified MSVC toolchain name on Windows
RUSTUP_TOOLCHAIN=nightly-2026-02-09 is ambiguous — rustup resolves it using the default host triple, which gets reset to GNU by the setup-rust-toolchain action's rustup-init reading a stale system-level settings file. Use the fully qualified name with -x86_64-pc-windows-msvc suffix on Windows to eliminate the ambiguity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e37e52e commit 6cf7788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskfiles/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ vars:
2121
env:
2222
PATH: "{{.CARGO_BIN}}:{{.MISE_SHIMS}}:{{.PATH}}"
2323
RUSTC_WRAPPER: ""
24-
RUSTUP_TOOLCHAIN: "{{.PINNED_RUST}}"
24+
RUSTUP_TOOLCHAIN: '{{if eq OS "windows"}}{{.PINNED_RUST}}-x86_64-pc-windows-msvc{{else}}{{.PINNED_RUST}}{{end}}'
2525

2626
tasks:
2727
setup:

0 commit comments

Comments
 (0)