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

update MSRV to 1.80 and test it in CI #712

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Conversation

carljm
Copy link
Contributor

@carljm carljm commented Feb 22, 2025

We specified an MSRV of 1.76 in Cargo.toml, but this was a lie, because it wasn't tested anywhere.

This updates our MSRV to 1.80, the oldest Rust that current main branch actually compiles on, and adds a CI run on 1.80 so that it's tested.

This requires also updating the rustversion macro on the compile_fail test so that it runs only on stable Rust later than 1.84; that test snapshots compiler output and fails on any Rust version earlier than 1.84.

(Over in #603 I asked about upping our MSRV to 1.83, but the first step is to actually have an MSRV that isn't a lie.)

Copy link

netlify bot commented Feb 22, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 868116e
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/67b933369303eb0008932b91

@carljm carljm mentioned this pull request Feb 22, 2025
9 tasks
Copy link

codspeed-hq bot commented Feb 22, 2025

CodSpeed Performance Report

Merging #712 will not alter performance

Comparing carljm:msrv (868116e) with master (70a0172)

Summary

✅ 9 untouched benchmarks

@Veykril
Copy link
Member

Veykril commented Feb 22, 2025

To add context as far as rust-analyzer is concerned regarding MSRV, our policy there is that we have no minimum. (we have a maximum of second latest released stable)

@carljm carljm added this pull request to the merge queue Feb 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2025
@Veykril
Copy link
Member

Veykril commented Feb 22, 2025

Looks like codspeed doesn't like merge groups CodSpeedHQ/action#126. Kicked it out from the required jobs for merging now

@Veykril Veykril added this pull request to the merge queue Feb 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2025
@Veykril Veykril added this pull request to the merge queue Feb 22, 2025
Merged via the queue into salsa-rs:master with commit 2c47ecc Feb 22, 2025
11 checks passed
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.

3 participants