cargo: set MSRV to 1.85

I believe the current stable version of Debian packages 1.85 rustc. So
if the next release of ripgrep uses a higher MSRV, then I think Debian
won't be able to package it.

It also turned out that I wasn't using anything from beyond Rust 1.85
anyway.

It's likely that I could make use of let-chains in various places, but I
don't think it's worth combing through the code to switch to them at
this point.
This commit is contained in:
Andrew Gallant
2025-09-21 09:17:17 -04:00
parent a7b7d81d66
commit 1b6177bc5c
3 changed files with 4 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ jobs:
include:
- build: pinned
os: ubuntu-latest
rust: 1.88.0
rust: 1.85.0
- build: stable
os: ubuntu-latest
rust: stable