No local toolchain pin: dev-box stable (1.99.0) already disagrees with CI's 1.99.1 — clippy fires chunks_exact_to_as_chunks on one and not the other
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- build-system, tooling
调研方向
阅读 .github/workflows/ci.yml 和 xtask coverage 中与工具链相关的覆盖率警告。将建议的 pin 添加到 rust-toolchain.toml,使其与 CI 的 1.99.1 匹配。本地运行 cargo run -p xtask -- ci 使用与 CI 相同的工具链即为完成。
由索引模型根据 Issue 内容生成。
描述
Evidence (2026-11-13). CI pins toolchain: 1.99.1 (.github/workflows/ci.yml, the #135 fix), but the repo carries no rust-toolchain.toml, so a dev box runs whatever its rustup default is. On this box the default stable is 1.99.0, and the two toolchains already disagree:
cargo run -p xtask -- cion 1.99.0 fails clippy oncrates/engine/src/catalog/mask.rs:311and:1292(clippy::chunks_exact_to_as_chunks,-D warnings), while the same code passes CI's clippy 1.99.1 — the lint fires on .0 and not on .1.xtask coveragealready warns about the mismatch: "measured with rustc 1.99.0, not the rustc 1.99.1 the floors were measured with" (and the floors are toolchain-bound: 1.99.0 → 81.9/79.0 vs 1.99.1 → 81.9/78.9).
So a contributor can have a locally-red gate that CI ignores, or a locally-green gate CI rejects, purely from the default toolchain. Proposal: add rust-toolchain.toml pinned to 1.99.1 (matching #135's CI pin and the coverage floors' toolchain), so cargo run -p xtask -- ci means the same thing everywhere; bump the pin and CI's toolchain: in the same change whenever the floors are re-measured.
- 主要语言
- Rust
- 星标
- 11
- 派生
- 1
- 平均合并
- 13 小时 16 分钟
- 30 天内合并 PR
- 38
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aliasfoxkde/FireCraft 的其他 Issue
-
Hotspot, slice, primitive, autoshape and clipboard depth: the ten commands the shell never binds未关闭enhancement parity
难度 5/5 一周以上 新手友好度 35/100
aliasfoxkde/FireCraft#141 ·
维护者通常 1 天内回复
-
enhancement parity
难度 4/5 3-5 天 新手友好度 18/100
aliasfoxkde/FireCraft#140 ·
维护者通常 1 天内回复
-
enhancement parity
难度 5/5 一周以上 新手友好度 18/100
aliasfoxkde/FireCraft#139 ·
维护者通常 1 天内回复
-
Selection and filter depth: the thirteen selection.* and filter.* commands the shell never binds未关闭enhancement parity
难度 4/5 3-5 天 新手友好度 25/100
aliasfoxkde/FireCraft#138 ·
维护者通常 1 天内回复
-
enhancement parity
难度 4/5 3-5 天 新手友好度 25/100
aliasfoxkde/FireCraft#137 ·
维护者通常 1 天内回复
查看 aliasfoxkde/FireCraft 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
C-Bug S-Needs-Triage
难度 2/5 1-3 小时 新手友好度 68/100
bevyengine/bevy#26536 ·
维护者通常 2 天内回复
-
Component:Software Type:Cleanup
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Soul sand and honey slow a gliding or flying player; vanilla's Player.getBlockSpeedFactor is 1.0 then可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
horizon-rust/horizon#16176 · 1 条评论 ·
维护者通常 1 天内回复