Skip to content

Repair build on nightly and new MSRV 1.81 #2613

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

Merged
merged 5 commits into from
Apr 16, 2025

Conversation

naseschwarz
Copy link
Contributor

This Pull Request fixes/closes #2094

It changes the following:

  • Enables nightly/MSRV CI builds by activating the toolchains
  • Sets MSRV to 1.81
  • Adds fixes from clippy nightly

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

Naseschwarz added 2 commits April 15, 2025 15:06
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.
@naseschwarz naseschwarz changed the title Build msrv Repair build on nightly and new MSRV 1.81 Apr 15, 2025
Naseschwarz added 3 commits April 15, 2025 19:26
This is entirely clippy-motivated:

error: unnecessary `Debug` formatting in `println!` args
   --> src/args.rs:142:46
    |
142 |     println!("Logging enabled. Log written to: {path:?}");
    |                                                 ^^^^
    |
    = help: use `Display` formatting and change this to `path.display()`
    = note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_debug_formatting
note: the lint level is defined here
   --> src/main.rs:9:53
    |
9   | #![deny(clippy::all, clippy::perf, clippy::nursery, clippy::pedantic)]
    |                                                     ^^^^^^^^^^^^^^^^
    = note: `#[deny(clippy::unnecessary_debug_formatting)]` implied by `#[deny(clippy::pedantic)]`
@naseschwarz naseschwarz requested a review from extrawurst April 15, 2025 17:45
@extrawurst extrawurst merged commit 7f88934 into gitui-org:master Apr 16, 2025
22 checks passed
@extrawurst
Copy link
Collaborator

awesome thanks! so many new nice things. there is probably also a ton of clippy-allows we can revisit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants