rust-lang / rust-lang/cc-rs

couldn't determine visual studio generator

Open
#653 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.2k
Forks
617
Avg merge
23h 25m
Merged PRs (30d)
40

Description

couldn't determine visual studio generator
  if VisualStudio is installed, however, consider running the appropriate vcvars script before building this crate

I'm getting this error when using stable-aarch64-pc-windows-msvc as target.
Although stable-x86_64-pc-windows-msvc works fine.

I have Visual Studio 2019 Build Tools installed on a Windows 11 Arm VM.
All latest tool chains for arm and x86_64 are installed.

Any advice?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files or tests; start by reproducing the build for stable-aarch64-pc-windows-msvc on the described Windows 11 Arm setup and compare it with stable-x86_64-pc-windows-msvc. Investigate how the Visual Studio generator is detected and consider the investigation complete when the cause of the target-specific failure is identified and a focused fix or clear reproduction is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.