Skip to content

Rock v0.5.1

Choose a tag to compare

@github-actions github-actions released this 12 Sep 15:17
· 197 commits to master since this release

Rock v0.5.1

Fixes installed toolchains selecting a compiler checkout's stale standard library instead of their own bundled copy.

Upgrade

rockup update

Then run your project normally, including from inside the Rock repository:

rock run -- listen

No sysroot workaround is needed for the installed stable toolchain. rockup self update also updates the manager to 0.5.1, but the toolchain update is what delivers this fix.

If your project is pinned to v0.5.0, install v0.5.1 and update its rock-toolchain.toml channel to v0.5.1. Updating stable does not change a version pin.

Fixes

  • Installed binaries now resolve stdlib relative to their own toolchain root, not an ancestor project's target/ directory.
  • CARGO_TARGET_DIR applies to development sysroot discovery and no longer redirects an installed toolchain.
  • Installed toolchains no longer compare their stdlib against source files from the compiler's build checkout.
  • Explicit ROCK_SYSROOT and compiler --sysroot overrides retain priority. Leave ROCK_SYSROOT unset for normal rockup-managed use.
  • Added regression coverage for installed toolchains inside a checkout containing stale artifacts, including a CARGO_TARGET_DIR override.

This resolves the artifact freshness mismatch that could report an expected compiler version of 0.5.0 but find a 0.1.0 artifact under the repository's target/ directory. Compiler artifact compatibility checks were not weakened, and checkout artifacts are not deleted or rewritten as a workaround.

Platform

Linux x86_64 GNU, Ubuntu 24.04 / glibc 2.39 or newer. LLVM 18 remains statically linked; binary-release users do not need Rust or LLVM installed. A C linker and standard system libraries are still required.

The release contains matching rock, rockc, rock-lsp, rockup, and stdlib assets with SHA-256 sidecars.

Installation guide | Full changelog