Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Pin an exact Roc compiler for release builds

Geschlossen
#444 3 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@thebrandonlucas arbeitet bereits daran.

Seit 27.7.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.
Vorherrschende Sprache
Rust
Sterne
122
Forks
47
Ø Merge
11 Std. 6 Min.
Gemergte PRs (30 T.)
21

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus roc-lang/basic-cli

Alle Issues in roc-lang/basic-cli

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.