alamb commented on code in PR #1510:
URL: https://github.com/apache/arrow-rs/pull/1510#discussion_r842778565
##########
arrow-flight/build.rs:
##########
@@ -33,7 +33,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// avoid rerunning build if the file has not changed
println!("cargo:rerun-if-changed=../format/Flight.proto");
- tonic_build::compile_protos("../format/Flight.proto")?;
+ let proto_dir = Path::new("../format");
+ let proto_path = Path::new("../format/Flight.proto");
+
+ tonic_build::configure()
Review Comment:
Following model in https://github.com/influxdata/pbjson/pull/40 from
@tustvold
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]