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

Update grpc c core to 1.44.0 #558

Merged
merged 11 commits into from
Feb 28, 2022
Merged

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Feb 25, 2022

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.

@BusyJay BusyJay requested a review from hunterlxt February 25, 2022 11:15
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]>
Signed-off-by: Jay Lee <[email protected]>
"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",
Copy link
Member

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

Comment on lines +399 to +402
"x86_64-unknown-linux-gnu"
| "aarch64-unknown-linux-gnu"
| "x86_64-apple-darwin"
| "aarch64-apple-darwin" => {
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

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.

Copy link
Member Author

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.

hunterlxt
hunterlxt previously approved these changes Feb 28, 2022
Copy link
Member

@hunterlxt hunterlxt left a 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]>
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.

Openssl feature pulls in boringssl
2 participants