-
Notifications
You must be signed in to change notification settings - Fork 258
grpc-sys: Upgrade bindgen to the latest version #498
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
Conversation
ff24626
to
300d8f8
Compare
Thanks @heftig! |
I tried to compile and test the project on the new Apple M1, this patch seemed required to get it compile. |
@@ -298,6 +298,8 @@ fn bindgen_grpc(mut config: bindgen::Builder, file_path: &PathBuf) { | |||
.clang_arg("-std=c++11") | |||
.rustfmt_bindings(true) | |||
.impl_debug(true) | |||
.size_t_is_usize(true) | |||
.disable_header_comment() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to keep it so people may not try to edit the generated file by hand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header comment now contains the bindgen version number, making the output less stable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get it.
Signed-off-by: Jan Alexander Steffens (heftig) <[email protected]>
Signed-off-by: Jan Alexander Steffens (heftig) <[email protected]>
300d8f8
to
2264edc
Compare
As requested in #452 (comment).