Skip to content

Update the MSRV to 1.89.0. - #93

Merged
alevy merged 1 commit into
mainfrom
jrvanwhy/update-msrv-89
Nov 6, 2026
Merged

alevy merged 1 commit into
mainfrom
jrvanwhy/update-msrv-89

Conversation

@jrvanwhy

@jrvanwhy jrvanwhy commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request Overview

1.89.0 was chosen because NonNull::without_provenance is nice to have, and I'm not aware of any more-recently-stabilized features that would be nice to have.

This does not update the nightly toolchain because the nightly toolchain was already newer than 1.89.

This was originally written to update to 1.99.1, so it may include some lint fixes for lints that are newer than 1.89. I agree with the changes so I kept them in for this PR.

Last: this enables updating the edition to 2024, but I feel that belongs in a different PR.

TODO or Help Wanted

Our current MSRV policy is to increase it whenever we want to use a new language feature, and to only bump to the version of Rust that stabilized that feature. That policy was copied blindly from libtock-rs. Do we want to keep that policy, or do something else?

Checklist

  • Added unit and/or integration tests as appropriate.
  • Ran make test or make full.
  • All files that support comments have license headers

PR Contents

Documentation

  • Updated the relevant files in /doc.
  • No documentation updates are required.

AI Use

  • No AI was used in this PR.
  • AI was used in this PR. I have read Tock's AI policy and have properly disclosed my AI use below.

1.89.0 was chosen because `NonNull::without_provenance` is nice to have,
and I'm not aware of any more-recently-stabilized features that would be
nice to have.

This does not update the nightly toolchain because the nightly toolchain
was already newer than 1.89.

This was originally written to update to 1.99.1, so it may include some
lint fixes for lints that are newer than 1.89. I agree with the changes
so I kept them in for this PR.

Last: this enables updating the edition to 2024, but I feel that belongs
in a different PR.
@jrvanwhy
jrvanwhy added this pull request to stack #95 November 6, 2026 01:59
@alevy
alevy merged commit 70354f7 into main Nov 6, 2026
3 checks passed
@alevy
alevy deleted the jrvanwhy/update-msrv-89 branch November 6, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants