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

Support rust 2021 #271

Closed
Dengjianping opened this issue Nov 19, 2021 · 0 comments · Fixed by #294
Closed

Support rust 2021 #271

Dengjianping opened this issue Nov 19, 2021 · 0 comments · Fixed by #294
Assignees
Labels
A-calamari Area: Issues and PRs related to the Calamari Runtime A-manta Area: Issues and PRs related to the Manta Runtime C-enhancement Category: An issue proposing an enhancement or a PR with one

Comments

@Dengjianping
Copy link
Contributor

Dengjianping commented Nov 19, 2021

Next polkadot release, it will support rust 2021, so we should follow it.
Just change this field edition = 2018 to edition = 2021, remove some traits like TryInto/TryFrom, that have been in reexports.

And add this section edition = 2021 to .rustfmt.toml.

@Dengjianping Dengjianping added C-enhancement Category: An issue proposing an enhancement or a PR with one A-manta Area: Issues and PRs related to the Manta Runtime A-calamari Area: Issues and PRs related to the Calamari Runtime labels Nov 19, 2021
@Dengjianping Dengjianping added this to the v3.1.1 milestone Dec 1, 2021
@ghzlatarev ghzlatarev self-assigned this Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-calamari Area: Issues and PRs related to the Calamari Runtime A-manta Area: Issues and PRs related to the Manta Runtime C-enhancement Category: An issue proposing an enhancement or a PR with one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants