alamb commented on code in PR #3359:
URL: https://github.com/apache/arrow-rs/pull/3359#discussion_r1052443109


##########
arrow-flight/build.rs:
##########
@@ -94,3 +94,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
     // As the proto file is checked in, the build should not fail if the file 
is not found
     Ok(())
 }
+
+fn prost_config() -> prost_build::Config {
+    let mut config = prost_build::Config::new();
+    config.bytes([".arrow"]);

Review Comment:
   Maybe we should put a note / link that this uses the `Bytes` API to avoid 
copies



-- 
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]

Reply via email to