Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Expose Whale target and emit-kind capability queries

未关闭 适合新手
#886 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
cli

调研方向

从 src/cli.rs 开始,这里目前会拒绝 Whale 查询;然后追踪现有的 print 接口及其 human/JSON schema。实现列出的 target 和 emit-kind 查询,然后验证别名、无效查询,以及 LLVM 默认值保持不变;完成标准是 Whale 只报告 Linux amd64 和 IR,check 被视为验证,且 native 输出不可用。

由索引模型根据 Issue 内容生成。

描述

enhancement good first 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wavefnd/Wave 的其他 Issue

查看 wavefnd/Wave 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。