You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/05 13:22:05 UTC

[GitHub] [arrow-rs] alamb commented on a diff in pull request #1510: chore: Update `prost`, `prost-derive` and `prost-types` to 0.10, `tonic`, and `tonic-build` to `0.7`

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org