Skip to content

Track output-target expansion across Wave architecture and OS profiles #232

Open

Description

@LunaStev

Purpose

Track output-target expansion without confusing build-host CI with code generation. Wave's registry at 8a465e30 contains 17 feature-gated target profiles, including FreeBSD, MSVC, LoongArch64 and WebAssembly. The older public target table is not the complete source of truth.

Whale currently accepts only x86_64-whale-linux, with AMD64 ELF64 assembly/object output; a complete IR-to-native path is still pending. A registry entry or machine enum alone must not imply a complete backend.

Existing work (do not duplicate)

Bounded follow-ups

Capability matrix requirements

  • Track frontend target spelling versus deliberate Whale target IDs/aliases; preserve x86_64-whale-linux.
  • Record parsing/encoding, IR lowering, object emission, ABI calls, runtime adapters, executable linking and native/emulated validation separately for each profile.
  • Cover x86_64 Linux/Darwin/MSVC/FreeBSD/none; AArch64 Linux/Darwin/MSVC/FreeBSD/none; RISC-V64 Linux/FreeBSD/none; LoongArch64 Linux; wasm32 unknown/WASI Preview 1; wasm64 unknown.
  • After initial leaf paths, split non-AMD64 typed-IR selection, register allocation, checked memory and relocation/linking into concrete backend follow-ups; leaf encoding alone is not full target support.
  • Compare supported source-program results and traps against the independent execution/reference paths, without making LLVM or an external assembler mandatory for core Whale tests.

Boundaries

This is an index and capability-reporting task, not a single giant implementation or a promise to ship all targets in October. Keep the first Linux AMD64 path progressing. Work belongs in Whale; Wave compiler changes are outside this workstream. No good first issue label: these require target/ABI knowledge and cross-target verification.

Activity

  1. added
    cross-platform
    roadmap
    on Sep 25, 2026
  2. pinned this issue on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-platformroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions