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
Define the versioned C module API for assembler backend artifact linker and execution roles #340
abiCalling conventions, foreign interfaces, and argument/return contracts.enhancementNew feature or requestintegrationChecked interfaces between frontends, IR, and toolchain components.
Add a minimal language-independent static registration boundary with role-specific optional function tables. Do not expose Rust traits, Vec/String/enums or compiler-specific Wave layouts. Define IR import/export or bounded typed query access, target descriptors, diagnostics and artifact sinks.
Current evidence
Baseline: merged PR #334, db0b22262c2f2cd01d367c7a49debeeb8c34f1ea. This is a planned architectural/migration task, not a claim of a newly reproduced bug.
Specify API version and structure size negotiation, fixed-width fields, buffers with lengths, opaque handles, caller/callee ownership and destruction, status/error reporting and concurrency/reentrancy policy.
Specify that panics/exceptions cannot unwind across the ABI and that this is trusted linked native code, not an isolation boundary.
ABI mismatch, missing required functions, invalid sizes and output-limit failures produce errors without partial publication; empty optional roles are legal.
Sequencing and delivery
Batch 2/8 — Language-independent module API and SDK 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.
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.
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.
abiCalling conventions, foreign interfaces, and argument/return contracts.enhancementNew feature or requestintegrationChecked interfaces between frontends, IR, and toolchain components.
Activity
LunaStev commentedon Oct 22, 2026
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.