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

Use new trait order in generated code #758

Merged
merged 1 commit into from
Nov 28, 2020

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Nov 27, 2020

Recent release of bindgen 0.56.0 resulted in a change in the order of the derived traits in the generated code. The changelog does not say anything about that, but I doubt this is considered a notable change. However, it breaks our build system which meticulously checks for any changes in the generated code compared to checked in version. It does this so that we don't miss any changes.

Well, the CI is going to be using bindgen 0.56.0 from now on, let's use the new trait order as well, whatever it is.

Checklist

  • Change is covered by automated tests

Recent release of bindgen 0.56.0 resulted in a change in the order of
the derived traits in the generated code. The changelog does not say
anything about that, but I doubt this is considered a notable change.
However, it breaks our build system which meticulously checks for any
changes in the generated code compared to checked in version. It does
this so that we don't miss any changes.

Well, the CI is going to be using bindgen 0.56.0 from now on, let's use
the new trait order as well, whatever it is.
@ilammy ilammy added infrastructure Automated building and packaging W-RustThemis 🦀 Wrapper: Rust-Themis, Rust API, Cargo crates labels Nov 27, 2020
Copy link
Collaborator

@Lagovas Lagovas left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@storojs72 storojs72 left a comment

Choose a reason for hiding this comment

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

Yeah. That is interesting Rust specifics

@vixentael vixentael merged commit 3f8f9b8 into cossacklabs:master Nov 28, 2020
@ilammy ilammy deleted the new-bindgen branch January 24, 2021 07:22
@ilammy ilammy mentioned this pull request Feb 3, 2021
1 task
ilammy added a commit that referenced this pull request Feb 3, 2021
Recent release of bindgen 0.56.0 resulted in a change in the order of
the derived traits in the generated code. The changelog does not say
anything about that, but I doubt this is considered a notable change.
However, it breaks our build system which meticulously checks for any
changes in the generated code compared to checked in version. It does
this so that we don't miss any changes.

Well, the CI is going to be using bindgen 0.56.0 from now on, let's use
the new trait order as well, whatever it is.

(cherry picked from commit 3f8f9b8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Automated building and packaging W-RustThemis 🦀 Wrapper: Rust-Themis, Rust API, Cargo crates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants