Repository navigation
Description
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-configavailable- 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