-
Notifications
You must be signed in to change notification settings - Fork 256
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
Update grpc c core to 1.44.0 #558
Conversation
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
Now bindgen is download and compiled only when neccessary. Signed-off-by: Jay Lee <[email protected]>
It becomes more clear that boringssl is used. And now only enabling openssl will not download boringssl anymore. Signed-off-by: Jay Lee <[email protected]>
9be4de2
to
08ea77f
Compare
Signed-off-by: Jay Lee <[email protected]>
08ea77f
to
4625473
Compare
grpc-sys/build.rs
Outdated
"absl_graphcycles_internal", "absl_hash", "absl_hashtablez_sampler", "absl_int128", "absl_log_severity", | ||
"absl_malloc_internal", "absl_raw_hash_set", "absl_raw_logging_internal", "absl_spinlock_wait", | ||
"absl_stacktrace", "absl_status", "absl_statusor", "absl_str_format_internal", "absl_strings", | ||
"absl_cord", "absl_cord_internal", "absl_cordz_functions", "absl_cordz_handle", "absl_cordz_info", |
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.
can you post the command to run pkg-config manually into the comment above
"x86_64-unknown-linux-gnu" | ||
| "aarch64-unknown-linux-gnu" | ||
| "x86_64-apple-darwin" | ||
| "aarch64-apple-darwin" => { |
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.
Why are the bindings the same across this platforms?
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 guess because they are both unix-like system and share many common designs. The windows bindings is different from linux though. For example, windows use i32 for enum while unix use u32. More to see rust-lang/rust-bindgen#1907
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 mean, did you found it unconsciously, or did you get the result via bindgen config.
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 found it when I'm working on BusyJay/tirocks#1.
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.
Most LGTM
Signed-off-by: Jay Lee <[email protected]>
Signed-off-by: Jay Lee <[email protected]>
This PR also uses the same bindings for both (x86_64|aarch64)_(macos|linux). CI will check if it's OK to do so. This should make maintenance easier.
Changes from #539 is also included in this PR.
Features
use-bindgen
is removed as it can be detected during compile time now.This PR also rename the secure features to boringssl for better understanding. And now only enabling openssl features will not download boringssl anymore. Close #557.