-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Repair build on nightly and new MSRV 1.81 #2582
base: master
Are you sure you want to change the base?
Conversation
2101dc8
to
cb7049e
Compare
Somehow at some point, additional rust toolchains became available in CI. Thus, it's no longer sufficient to install the matrix toolchain, but actually override it for the build directory.
If I'm not missing something, there'll be a lot of dependency downgrades if we want to keep the MSRV at 1.70, including at least a rustsec unmaintained advisory and other complications. @extrawurst: Is an MSRV at 1.70 just a nice-to-have or something we should strive for? I agree that 1.70 is a reasonable default, but as seeing the state of the dependencies I'm not sure it's worth going for. gitui's actual MSRV is 1.81 for the time being. |
Yeah let's upgrade the MSRV, that will unlock a lot of nice things and it was originally for Debian but keeping compatibility with its off-the-shelve rust version is insane. I am willing to give up on that. people have to install a rust toolchain anyway for getting anything recent to build on it :) |
Currently, nightly and MSRV builds don't activate their respective toolchains. Thus, MSRV and nightly builds are broken.
This is just a draft enabling the toolchains for now until the builds are fixed, too.
Current state:
Fix 1.70 builds oragree on higher MSRVThis Pull Request fixes/closes #2094
It changes the following:
I followed the checklist:
I added unittestsN/AI ran-> CImake check
without errors