Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3367802
D5052.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
980 B
Referenced Files
None
Subscribers
None
D5052.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5052: Expose module with generated tonic blob client code
Attached
Detach File
Event Timeline
Log In to Comment