Skip to content

Windows Native Support (MSVC) #292

Open

Description

@LunaStev

Environment

  • OS: Windows 10
  • Toolchain: MSVC (x64 Native Tools Command Prompt for VS 2022)
  • Rust: stable
  • LLVM: 21.1.0 (clang+llvm-21.1.0-x86_64-pc-windows-msvc.tar.gz)
  • Installed in: C:\llvm-21
  • llvm-config available: yes

Description

Native Windows (MSVC) support does not work out of the box.

Even with:

  • Official LLVM 21 MSVC prebuilt (tar.gz)
  • llvm-config available
  • Correct LLVM_SYS_211_PREFIX
  • Proper MSVC x64 environment

The build fails during linking due to missing external dependencies and Windows-specific configuration requirements.

The same project builds successfully under WSL (Linux) without additional configuration.

Expected Behavior

Native Windows (MSVC) builds should work using the official LLVM prebuilt package without requiring manual installation of additional third-party libraries.

Actual Behavior

Native Windows builds fail during compilation/linking despite a correct LLVM and MSVC setup.

Implementation audit — 2026-09-23

The MSVC compiler/output and native CI/package paths now exist, including automatic pinned LLVM dependency provisioning. The original expectation of building from the official LLVM archive without an extra provisioning step is still distinct: the archive can omit static dependencies and the setup scripts must supply them. Keeping this issue open for source-build onboarding; #498 is complete. See the provisioning scripts and CONTRIBUTING.md rather than treating native CI success alone as completion of this request.

Activity

  1. added
    bug
    build
    os support
    os patch
    cross-platform
    on Feb 15, 2026
  2. added
    help wanted
    on Mar 6, 2026
  3. self-assigned this
    on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugbuildcross-platformhelp wantedos patchos support

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions