Page MenuHomePhabricator

D5052.diff
No OneTemporary

D5052.diff

diff --git a/native/native_rust_library/build.rs b/native/native_rust_library/build.rs
--- a/native/native_rust_library/build.rs
+++ b/native/native_rust_library/build.rs
@@ -1,6 +1,8 @@
fn main() {
tonic_build::compile_protos("../../shared/protos/identity.proto")
- .unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
+ .unwrap_or_else(|e| panic!("Failed to compile identity protos {:?}", e));
+ tonic_build::compile_protos("../../shared/protos/blob.proto")
+ .unwrap_or_else(|e| panic!("Failed to compile blob protos {:?}", e));
let _cxx_build =
cxx_build::bridge("src/lib.rs").flag_if_supported("-std=c++14");
println!("cargo:rerun-if-changed=src/hello.c");
diff --git a/native/native_rust_library/src/blob_client.rs b/native/native_rust_library/src/blob_client.rs
--- a/native/native_rust_library/src/blob_client.rs
+++ b/native/native_rust_library/src/blob_client.rs
@@ -0,0 +1,3 @@
+pub mod blob {
+ tonic::include_proto!("blob");
+}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 4:27 PM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585469
Default Alt Text
D5052.diff (980 B)

Event Timeline