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
Establish executable Windows ARM64 MSVC C ABI interoperability #616
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.multi-os testingIssues related to testing Wave on multiple operating systems.needs testingIssues that require additional testing or verification.
Part of #611. Difficulty: very high. Audit baseline: master 3950416e (2026-09-12).
Current evidence
tests/codegen_regressions.rs provides windows_arm64_c_abi_links_with_mingw, and .github/workflows/rust.yml invokes that GNU-oriented cross-link test. MSVC object/IR checks and the executor fixture do not replace bidirectional native C ABI verification.
Scope
Build a native ARM64 MSVC ABI oracle with clang-cl or cl and target-matched SDK libraries. Exercise register/stack boundary transitions, homogeneous floating aggregates, non-homogeneous and odd-sized aggregates, indirect returns, narrow integers, mixed scalar arguments, and supported variadic calls. Add fixes only where an executable counterexample demonstrates the need.
Completion criteria
Both Wave-to-C and C-to-Wave calls return independently checked values in debug/unoptimized and optimized runs on actual ARM64 Windows. Native results distinguish ARM64 from emulated x64. Preserve sources, compiler versions, object/IR evidence and process status on failure. GNU cross-linking remains separate evidence during rollout. Do not mark an emitted object or a linked PE as an executed test.
Dependencies and boundaries
#498; #608 and #609 are existing ARM64 blockers; #613 and #617 provide the link/runtime foundation.
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.multi-os testingIssues related to testing Wave on multiple operating systems.needs testingIssues that require additional testing or verification.
Activity
fix(msvc): validate native Windows runtime and C ABI (#668)