You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by jo...@apache.org on 2021/04/18 14:51:55 UTC
[arrow-rs] 03/03: Fiddle path to flight protobuf generation.
This is an automated email from the ASF dual-hosted git repository.
jorgecarleitao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
commit a9189bd6d2699b9962e20601a4750d031edd4fc7
Author: Jorge C. Leitao <jo...@gmail.com>
AuthorDate: Sun Apr 18 14:51:28 2021 +0000
Fiddle path to flight protobuf generation.
---
arrow-flight/build.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arrow-flight/build.rs b/arrow-flight/build.rs
index ca23255..bc84f37 100644
--- a/arrow-flight/build.rs
+++ b/arrow-flight/build.rs
@@ -24,16 +24,16 @@ use std::{
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");
+ println!("cargo:rerun-if-changed=../format/Flight.proto");
// override the build location, in order to check in the changes to proto files
env::set_var("OUT_DIR", "src");
// The current working directory can vary depending on how the project is being
// built or released so we build an absolute path to the proto file
- let path = Path::new("../../format/Flight.proto");
+ let path = Path::new("../format/Flight.proto");
if path.exists() {
- tonic_build::compile_protos("../../format/Flight.proto")?;
+ tonic_build::compile_protos("../format/Flight.proto")?;
// read file contents to string
let mut file = OpenOptions::new()
.read(true)