Skip to content

Bump MSRV to 1.30.0 #671

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 1 commit into from
Aug 19, 2020
Merged

Conversation

valentinewallace
Copy link
Contributor

@valentinewallace valentinewallace commented Aug 19, 2020

We wanted to bump to 1.29 to continue to support mrustc bootstrapping, but on 1.29
there's a bug preventing us from compiling the lightning package only, thus parts
of lightning-net-tokio cause a compilation error.

The advantage of bumping the MSRV is an improved borrow checker which should
enable improved code quality, and not having jump through weird hoops sometimes
to get 1.22 working.

Maybe this is a good compromise in the meantime, and we can always bump more later?

It'd make part of #667 a bit nicer (though admittedly it's possible there's a workaround to my current hack for 1.22, and I'm just too tired of 1.22 to find it lol). I'm OK to revisit bumping MSRV later if it's preferred though.

Related to #471

We wanted to bump to 1.29 to continue to support mrustc bootstrapping, but on 1.29
there's a bug preventing us from compiling the lightning package only, thus parts
of lightning-net-tokio cause a compilation error.

The advantage of bumping the MSRV is an improved borrow checker which should
enable improved code quality, and not having jump through weird hoops sometimes
to get 1.22 working.
@elichai
Copy link
Contributor

elichai commented Aug 19, 2020

Is this bug documented anywhere? if not how can I reproduce it locally?

@valentinewallace
Copy link
Contributor Author

Is this bug documented anywhere? if not how can I reproduce it locally?

I can't find it documented, but to repro just run cargo +1.29.0 build -p lightning on the master branch

@TheBlueMatt TheBlueMatt merged commit 8ac0992 into lightningdevkit:master Aug 19, 2020
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.

3 participants