Skip to content

On windows rust-gpu-install always uses rustup default toolchain host when installing #714

Backlog

Description

@barcharcraz

Windows has three common host "flavors"

  • msvc
  • gnu
  • gnullvm

gnu is the default, and rust gpu install uses the default, so if you're using gnullvm or msvc cargo-gpu-install will attempt to compile rustc_codegen_spirv for an incompatible toolchain.

What should probably happen is using the full flavor should be detected as in ensure_toolchain_and_components_exist and cargo should be called with "+{toolchain_channel}-{host-tuple}", with host_tuple detected by running rustc.

Activity

  1. added
    bug
    on Dec 3, 2026
  2. nazar-pc commented on Dec 3, 2026

    @nazar-pc
    Contributor

    gnu is the default

    No, x86_64-pc-windows-msvc is the default on Windows. GNU is still tier 1, but not even properly maintained at this point and is at risk of being demoted from Tier 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions