You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolve a coherent Windows SDK and VC library set for MSVC output targets #613
buildIssues related to building the project or compiling errors.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.migrationIssues related to migrating from older systems or versions.
Part of #611. Difficulty: high. Audit baseline: master 3950416e (2026-09-12).
Current evidence
llvm/src/backend.rs delegates SDK/VC discovery to LIB or -L. src/cli.rs adds a generic SDK hint only after linking fails. The MSVC path does not select and explain a complete target-specific SDK set.
Scope
Add deterministic discovery for installed Windows SDK UM/UCRT and VC libraries, with explicit user overrides taking precedence. Distinguish the architecture of the executable linker from the target architecture of its libraries. Integrate both driver/backend entry paths without silently falling back to GNU. Cross-host linking may require explicitly supplied SDK inputs; do not claim it works without them.
Completion criteria
Test explicit paths, a configured Developer Prompt, ordinary shells, missing components, multiple installed versions, paths with spaces, and x64/ARM64 selection. Dry-run/diagnostics identify selected tools and library roots. Missing or incompatible prerequisites produce actionable errors before publishing outputs. Keep SDK discovery separate from the COFF input inspector and package staging tasks.
buildIssues related to building the project or compiling errors.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.migrationIssues related to migrating from older systems or versions.
Activity
feat(msvc): add native build, SDK discovery, and COFF validation foun…