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

Compile on rust 1.61, resolve warnings, fix some lints #12

Merged
merged 22 commits into from Jul 5, 2022

Conversation

phimuemue
Copy link
Contributor

I tried compiling this on my machine with rust 1.61 and ran into problems (due to a change in getopts).

I fixed the problem and resolved some warnings/lints.

The pinned version does not compile anymore because of mutable aliasing:
* rust-lang/getopts#61
* rust-lang/getopts#110

This was achieved by temporarily setting the getopts version to "0.2.21"
in Cargo.toml, and running `cargo check`.

Note that this also converts the Cargo.lock to a new format.
I left some if/else branches in place, if there was a certain symmetry between the branches.
I left some if/else branches in place, if there was a certain symmetry between the branches.
I left one complicated branch in place.
@phimuemue phimuemue changed the title Compile on rust 1 61 Compile on rust 1.61, resolve warnings, fix some lints Jul 3, 2022
@felixbauckholt felixbauckholt self-assigned this Jul 4, 2022
Copy link
Owner

@WuTheFWasThat WuTheFWasThat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@WuTheFWasThat WuTheFWasThat merged commit c9b21fa into WuTheFWasThat:master Jul 5, 2022
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.

None yet

3 participants