nevi-me opened a new pull request #7018:
URL: https://github.com/apache/arrow/pull/7018


   When a user compiles the `flight` crate, a `build.rs` script is invoked. 
This script recursively looks for the `format/Flight.proto` path. A user might 
not have that path, as they would not have cloned the arrow repository, and as 
such, the build fails.
   
   This change:
   
   a) checks if the `../../format/Flight.proto` path exists, and only builds if 
the file exists, and has been changed.
   b) checks in the proto file into the `src/` directory, changing the default 
location from an opaque directory in the `target/{debug|release}/build-xxx` 
folder.
   
   The rationale for checking in the proto file is that if the file is not 
rebuilt, `flight` users are still able to access the file. It's also beneficial 
for users to easily view the file, and better understand how the generated code 
looks like.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to