Skip to content

Build an out-of-tree Wave vendor ISA module without editing Whale core #366

Closed as not planned

Description

@LunaStev

Purpose

Provide an independently built fixture project outside the Whale source tree using only installed SDK/manifests. Implement a deliberately small new vendor ISA assembler, custom native artifact provider, minimal relocation linker and matching test execution engine in Wave.

Current evidence

Baseline: merged PR #334, db0b22262c2f2cd01d367c7a49debeeb8c34f1ea. This is a planned architectural/migration task, not a claim of a newly reproduced bug.

Completion criteria

  • Configure the external path, build, list in CLI, assemble/emit and run a known program without editing core files, central enums, CLI switches or root Cargo workspace membership.
  • A new vendor relocation with a nonzero addend is emitted and applied by the external artifact/link provider; execute the linked fixture and reject unsupported relocation/operation explicitly.
  • Tests copy the sample into a temporary separate project or independent fixture repository and check the Whale source tree remains unchanged; built-ins receive no privileged API.

Sequencing and delivery

Batch 7/8 — Wave bytecode and real external targets in the Wave-first modularization plan #335. Complete prior batches first; this issue is included in its batch's single DCO-signed commit. The delivery is exactly eight ordered DCO commits in one PR, not a separate commit or PR per issue.

Dependencies: #365, #343, #341.

The implementation must preserve existing supported behavior and defined errors/limits. Core algorithms assigned to Wave must actually execute in Wave; an FFI wrapper around Rust is insufficient. Static build-time module selection comes first. Dynamic plugin loading is outside this delivery. Do not change the separately owned Wave checkout or take over #100 (assigned to dk5488). Major migration tasks are not labeled good first issue.

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    enhancement
    assembler
    object
    integration
    on Oct 22, 2026
  3. LunaStev commented on Oct 22, 2026

    @LunaStev
    MemberAuthor

    Retracted after the maintainer clarified the intended source contribution model: architecture modules should be easy to add within the Whale source tree, including ordinary edits to explicit target definitions, dispatch and Meson build lists. This issue introduced an SDK/automatic extension framework or an out-of-tree no-core-change requirement that was not requested. The corrected eight-batch implementation plan is tracked in #335. Closing as not planned, not implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

assemblerenhancementintegrationobject

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions