Skip to content

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

Development

Successfully merging this pull request may close these issues.

v0.25/v0.25.1 does not build with cargo-1.70.0 (feature/dependency problem with env_logger and/or clap_builder)

2 participants