Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): bump MSRV to 1.81.0 #8931

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Feb 6, 2025

As noted in #8929, many Oxc crates won't compile at present with our MSRV of 1.80.0, due to the liberal use of #[expect] attribute, which wasn't stabilized until 1.81.0.

It becomes a lint error in 1.81.0 to use #[allow], so it'd seem to me pretty pointless to convert all the #[expect] attrs to #[allow] to honour our MSRV now, when we'll have to change them back to #[expect] again shortly.

So I propose that we bump the MSRV to 1.81.0 early instead. Next minor version of Rust is out in 2 weeks anyway.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Feb 6, 2025
Copy link
Contributor Author

overlookmotel commented Feb 6, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review February 6, 2025 19:01
@overlookmotel overlookmotel force-pushed the 02-06-style_all_replace_allow_with_expect_ branch from bda2807 to cb3f74c Compare February 6, 2025 19:11
@overlookmotel overlookmotel force-pushed the 02-06-chore_build_bump_msrv_to_1.81.0 branch from b90ccb7 to 94c18f6 Compare February 6, 2025 19:12
@overlookmotel overlookmotel force-pushed the 02-06-chore_build_bump_msrv_to_1.81.0 branch from 94c18f6 to 53b43ba Compare February 7, 2025 11:12
@overlookmotel overlookmotel force-pushed the 02-06-style_all_replace_allow_with_expect_ branch from cb3f74c to 172916b Compare February 7, 2025 11:12
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Feb 7, 2025
Copy link
Member

Boshen commented Feb 7, 2025

Merge activity

  • Feb 7, 8:33 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Feb 7, 8:33 AM EST: A user added this pull request to the Graphite merge queue.
  • Feb 7, 10:10 AM EST: A user merged this pull request with the Graphite merge queue.

As noted in #8929, many Oxc crates won't compile at present with our MSRV of 1.80.0, due to the liberal use of `#[expect]` attribute, which wasn't stabilized until 1.81.0.

It becomes a lint error in 1.81.0 to use `#[allow]`, so it'd seem to me pretty pointless to convert all the `#[expect]` attrs to `#[allow]` to honour our MSRV now, when we'll have to change them back to `#[expect]` again shortly.

So I propose that we bump the MSRV to 1.81.0 early instead. Next minor version of Rust is out in 2 weeks anyway.
@graphite-app graphite-app bot force-pushed the 02-06-style_all_replace_allow_with_expect_ branch from 172916b to a4a8e7d Compare February 7, 2025 14:50
@graphite-app graphite-app bot force-pushed the 02-06-chore_build_bump_msrv_to_1.81.0 branch from 53b43ba to 94b8d29 Compare February 7, 2025 14:50
Base automatically changed from 02-06-style_all_replace_allow_with_expect_ to main February 7, 2025 14:58
@graphite-app graphite-app bot merged commit 94b8d29 into main Feb 7, 2025
16 checks passed
@graphite-app graphite-app bot deleted the 02-06-chore_build_bump_msrv_to_1.81.0 branch February 7, 2025 15:10
Dunqing pushed a commit that referenced this pull request Feb 10, 2025
As noted in #8929, many Oxc crates won't compile at present with our MSRV of 1.80.0, due to the liberal use of `#[expect]` attribute, which wasn't stabilized until 1.81.0.

It becomes a lint error in 1.81.0 to use `#[allow]`, so it'd seem to me pretty pointless to convert all the `#[expect]` attrs to `#[allow]` to honour our MSRV now, when we'll have to change them back to `#[expect]` again shortly.

So I propose that we bump the MSRV to 1.81.0 early instead. Next minor version of Rust is out in 2 weeks anyway.
@overlookmotel overlookmotel mentioned this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants