Expose Whale target and emit-kind capability queries
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 src/cli.rs 开始,这里目前会拒绝 Whale 查询;然后追踪现有的 print 接口及其 human/JSON schema。实现列出的 target 和 emit-kind 查询,然后验证别名、无效查询,以及 LLVM 默认值保持不变;完成标准是 Whale 只报告 Linux amd64 和 IR,check 被视为验证,且 native 输出不可用。
由索引模型根据 Issue 内容生成。
描述
Motivation
wavec --whale print supported-targets is intentionally rejected by src/cli.rs even though the adapter has a definite one-target, one-output capability subset. Existing tooling cannot discover it through the established print interface.
Scope
Implement supported-targets/target-list and supported-emit-kinds using the existing human/JSON schemas. Advertise only Linux amd64 and IR; check is a validation mode, and native outputs are unavailable. Keep all other unsupported queries explicit and LLVM default behavior unchanged.
Difficulty: easy.
Completion criteria
- Return accurate human and JSON capabilities for Whale.
- Verify aliases and invalid query handling.
- Do not infer Whale capabilities from enabled LLVM targets.
- 主要语言
- Rust
- 星标
- 56
- 派生
- 21
- 平均合并
- 3 小时 41 分钟
- 30 天内合并 PR
- 48
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wavefnd/Wave 的其他 Issue
-
enhancement good first issue needs testing
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
documentation enhancement good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
shep-pm/shep-kelpie#980 ·
维护者通常 1 天内回复
-
bug frontend rt sev-3
难度 2/5 1-3 小时 新手友好度 72/100
-
C-bug
难度 1/5 1 小时以内 新手友好度 88/100
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adapters未关闭triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
area:cli bug good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复