Pin an exact Roc compiler for release builds
Mantenedores costumam responder em até 1 dia
@thebrandonlucas já está trabalhando nisso.
Desde 27/7/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 123
- Forks
- 46
- Merge médio
- 10h 59min
- PRs com merge (30d)
- 21
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de roc-lang/basic-cli
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
roc-lang/basic-cli#482 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
roc-lang/basic-cli#455 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 32/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
Mantenedores costumam responder em até 1 dia
Todas as issues de roc-lang/basic-cli
Issues semelhantes
-
documentation enhancement SIEM
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ADORSYS-GIS/wazuh-agent-status#265 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
manuscript-lang/manuscript#1629 ·
Mantenedores costumam responder em até 1 dia
-
autofixer: follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
tursodatabase/turso#10885 ·
Mantenedores costumam responder em até 1 dia
-
🐞 bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
nannou-org/gantz#475 ·
Mantenedores costumam responder em até 1 dia