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
Generate and link native Windows MSVC programs for amd64 and ARM64 #498
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.os supportA request to add support for a new operating system.
Native Windows ARM64 builds use Rust's MSVC toolchain, but Wave only registers Windows GNU output targets. host_target_triple() in src/cli.rs always selects pc-windows-gnu on Windows; CI explicitly expects that result. Building the compiler with MSVC therefore does not yet provide MSVC-generated Wave executables.
Add x86_64-pc-windows-msvc and aarch64-pc-windows-msvc target handling, MSVC-compatible object/C ABI verification against clang-cl, and a COFF linker path using link.exe/lld-link with correctly selected Windows SDK/UCRT/VCRuntime libraries. Validate machine type for every library and input. Cover executable startup, DLL exports/imports, aggregate returns, stack arguments, variadic calls, and large stack frames. Missing SDK tools must produce actionable diagnostics.
Rollout: explicit MSVC output first, native executable CI on both architectures next, then change native defaults only after coverage passes. Retain current Windows GNU targets, their linker behavior and CI throughout this work; removing GNU is not authorized in this patch.
Parent/native compiler host builds: #292. Existing native ARM64 execution crash: #493; missing HOME: #492. These are dependencies, not duplicates of this output-target task.
Native MSVC output is implemented for both amd64 and ARM64: target/default selection, COFF input validation, SDK/linker discovery, startup and bidirectional native C ABI/package checks are present. The native Windows checks passed on merged #698. The later approved Windows GNU retirement supersedes this issue's original temporary coexistence clause. Closing the output-target task; #292 remains separate for the source-build onboarding expectation.
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.os supportA request to add support for a new operating system.
Activity
LunaStev commentedon Sep 23, 2026
Native MSVC output is implemented for both amd64 and ARM64: target/default selection, COFF input validation, SDK/linker discovery, startup and bidirectional native C ABI/package checks are present. The native Windows checks passed on merged #698. The later approved Windows GNU retirement supersedes this issue's original temporary coexistence clause. Closing the output-target task; #292 remains separate for the source-build onboarding expectation.