Skip to content

Pin the Rust toolchain and declare the minimum supported Rust version #65

Closed

Description

@LunaStev

Problem

CI and release workflows install whatever stable means at execution time, and Cargo.toml declares no rust-version. The same Vex commit can therefore start failing or produce different release binaries when Rust stable changes.

This weakens both contributor predictability and release reproducibility.

Acceptance criteria

  • Choose and document an MSRV policy.
  • Add rust-version to Cargo.toml.
  • Pin the release compiler through a committed toolchain file or an equally reviewable mechanism.
  • Test MSRV separately from the pinned release toolchain when they differ.
  • Include rustfmt and Clippy component versions in the policy.
  • Make x.py, CI, and release workflows use the declared toolchains consistently.
  • Document the process and issue required to advance either version.

Activity

  1. added
    build
    ci
    release
    stability
    on Sep 18, 2026
  2. LunaStev commented on Oct 2, 2026

    @LunaStev
    MemberAuthor

    Verified completed against master 67797f6415f640e8c33f9a072879124b83934f84.

    Rust 1.96.0 is the approved first supported toolchain and MSRV. Workspace rust-version, rust-toolchain, CI/release, and x.py agree; contributor policy and consistency tests cover changes.

    Evidence: rust-toolchain.toml, Cargo.toml, CONTRIBUTING.md, tests/xpy/test_release_tool.py.

    Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildcireleasestability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions