Skip to content

Enforce source module boundaries and explicit ISA product selection #339

Closed

Description

@LunaStev

Purpose

Keep architecture implementations in role-separated source directories. Shared IR, assembler output and backend interfaces do not depend on concrete ISAs; the product composition root explicitly selects and registers implementations. Adding a target may update core enums, dispatch and build lists.

Completion criteria

  • Audit all production Cargo dependency paths, including optional and platform-specific edges, and reject core-to-ISA dependency inversions.
  • Build the default product, one-ISA product and product without assemblers; unselected ISA crates are absent from the selected product graph.
  • Document source responsibilities and the explicit registration/build edits expected for an official or contributed architecture. Keep asmobj under assembler.

Delivery

Batch 1/8 — Source module boundaries and explicit product selection in #335. Complete preceding batches first. Exactly one DCO commit per batch and one PR for all eight batches.

Scope correction from the maintainer: targets are source contributions like kernel architectures/drivers. Adding a target may update explicit core definitions, dispatch and Meson lists. Do not introduce an SDK, generic plugin system, automatic module registration or an out-of-tree no-core-change guarantee.

Wave-owned algorithms must execute in Wave; Rust may retain file/OS/CLI/object/link bridges and explicit test/reference implementations. Do not modify the separately owned Wave checkout or take over #100. Preserve existing supported behavior and limits.

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    enhancement
    build
    integration
    on Oct 22, 2026
  3. changed the title [-]Enforce module dependency direction and remove ISA dependencies from core APIs[/-] [+]Enforce source module boundaries and explicit ISA product selection[/+] on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildenhancementintegration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions