Skip to content

Policy for Minimum Supported Rust Version (MSRV) #17402

@niklaskorz

Description

@niklaskorz

Check for existing issues

  • Completed

Describe the feature

So far Zed's policy regarding MSRV is bumping to the latest Rust version as soon as it is released, and directly making use of features restricted to this release.
As seen with #15757, this causes problems for package maintainers that have to use the rustc version available in their package repository.

Together with @GaetanLepage, I'm maintaining the zed-editor package for nixpkgs, the package repository of the NixOS Linux distribution.
For NixOS, the current MSRV policy means that we can't backport updates of Zed to the stable channels of NixOS, as the rustc shipping in the stable channels very soon becomes unsupported by Zed.

Even for rolling release channels such as nixos-unstable, an MSRV bump in Zed means that we can't ship updates for Zed for a few weeks, as we first have to wait for the new rustc version to make its way into the unstable channels.

For NixOS in particular, it would be ideal if Zed's MSRV would be at least half a year old.
I can't speak for other distributions but would be interested in hearing the perspective of other package maintainers.

I am not asking to downgrade the MSRV we have right now, but to think about freezing it to the current version.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta:open sourceOpen source community projects, contributions, etcnixNix build and configurationplatform:generalAn umbrella label for general platform support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions