Pin an exact Roc compiler for release builds
维护者通常 1 天内回复
@thebrandonlucas 已经在做这个了。
开始于 2026年7月27日。
评估
这个 Issue 还没有评估数据。
描述
Context
Rust is pinned in rust-toolchain.toml and Zig is pinned to 0.16.0, but release builds install the moving nightly-new-compiler alias:
.github/workflows/release.yml:76-80.github/workflows/release.yml:188-192.github/workflows/release.yml:232-236.github/workflows/release.yml:341-345
CI and Pages deployment do the same. Two runs for the same source commit and requested release version can therefore use different Roc compiler builds. This matters especially because the Rust glue is generated from compiler ABI definitions.
Suggested direction
Record one exact Roc nightly/compiler identifier in the repository and have CI, release builds, bundle tests, glue regeneration, and documentation generation consume it from a single source.
A deliberate compiler-update PR should:
- update the pinned compiler;
- regenerate/check ABI glue;
- run the full cross-target test matrix;
- make the compiler change visible in review.
The published release should record the compiler identifier in release metadata or provenance.
Acceptance criteria
- A release rerun for the same commit installs the same Roc compiler build.
- CI, release bundle construction, bundle testing, docs generation, and glue regeneration use the same pinned value.
- Updating the compiler is a reviewed repository change.
- Release metadata records the compiler identifier.
- Documentation explains how to update the pin.
- 主要语言
- Rust
- 星标
- 121
- 派生
- 45
- 平均合并
- 19 小时 1 分钟
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
roc-lang/basic-cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 45/100
roc-lang/basic-cli#455 · 1 条评论 ·
维护者通常 1 天内回复
查看 roc-lang/basic-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Automattic/harper#4503 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 2 天内回复