tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.81k stars 253 forks source link

Build failure related to use grpcio 0.9 version #531

Closed linuxpham closed 3 years ago

linuxpham commented 3 years ago
Describe the bug --> /Users/xxxxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.0+1.38.0/src/lib.rs:8:5 8 include!(env!("BINDING_PATH")); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

To Reproduce grpcio = 0.9.0

System information Darwin Hoas-Mac-mini.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Apr 12 20:57:45 PDT 2021; root:xnu-6153.141.28.1~1/RELEASE_X86_64 x86_64

BusyJay commented 3 years ago

Just tried and can't reproduce. Can you make sure default features (or at least use-bindgen) are enabled for grpcio?

linuxpham commented 3 years ago

It is work after add : features = ["openssl-vendored", "protobuf-codec", "use-bindgen"] Thank you so much !