Skip to content

Commit

Permalink
grpc-sys: downgrade bindgen (#452)
Browse files Browse the repository at this point in the history
Due to rust-lang/cargo#5237, upgrading bindgen is not backward
compatible.

Signed-off-by: Jay Lee <[email protected]>
  • Loading branch information
BusyJay authored Mar 31, 2020
1 parent a5dd35f commit acfa3a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 0.5.1 - 2020-03-20
# grpcio-sys 0.5.2 - 2020-03-31

- Downgrade bindgen version to be backward compatible. (#452)

# 0.5.1 - 2020-03-30

- Clarify load balancing status (#445)
- Support unix domain socket (#446)
Expand Down
5 changes: 3 additions & 2 deletions grpc-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-sys"
version = "0.5.1"
version = "0.5.2"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
keywords = ["grpc", "bindings"]
Expand Down Expand Up @@ -70,4 +70,5 @@ cc = "1.0"
cmake = "0.1.40"
pkg-config = "0.3"
walkdir = "2.2.9"
bindgen = { version = "0.53.2", default-features = false, features = ["runtime"] }
# Because of rust-lang/cargo#5237, bindgen should not be upgraded util a minor or major release.
bindgen = { version = "0.51.0", default-features = false }
1 change: 0 additions & 1 deletion grpc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ 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)
.whitelist_function(r"\bgrpc_.*")
.whitelist_function(r"\bgpr_.*")
.whitelist_function(r"\bgrpcwrap_.*")
Expand Down

0 comments on commit acfa3a4

Please sign in to comment.