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

Pin an exact Roc compiler for release builds

未关闭
#444 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@thebrandonlucas 已经在做这个了。

开始于 2026年7月27日。

评估

这个 Issue 还没有评估数据。

描述

ci high priority

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:

  1. update the pinned compiler;
  2. regenerate/check ABI glue;
  3. run the full cross-target test matrix;
  4. 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 模板
  • 阅读贡献指南

从这里开始

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

roc-lang/basic-cli 的其他 Issue

查看 roc-lang/basic-cli 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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