Skip to content

Hard coded Rust version #359

@mrjackwills

Description

@mrjackwills

Rust gets updated every 6 weeks, the current version (as of 2025-08-15) is 1.89.0.

The Zigbuild Dockerfile has ARG RUST_VERSION=1.87.0 hardcoded in it.

Is there any way to use rust:latest instead?

Edit: Actually, could it be possible to change the Dockerfile to something like this;

ARG RUST_VERSION="1.87.0"
ENV RUST_VERSION="${VERSION}"

Would that then enable one to run the following command?

docker run --rm -e RUST_VERSION="1.89.0" -v "$(pwd):/io" -w /io ghcr.io/rust-cross/cargo-zigbuild cargo zigbuild --release --target aarch64-apple-darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions