Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3486097
D6279.id21757.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
397 B
Referenced Files
None
Subscribers
None
D6279.id21757.diff
View Options
diff --git a/shared/tunnelbroker-client/build.rs b/shared/tunnelbroker-client/build.rs
new file mode 100644
--- /dev/null
+++ b/shared/tunnelbroker-client/build.rs
@@ -0,0 +1,5 @@
+fn main() {
+ tonic_build::compile_protos("../protos/tunnelbroker.proto")
+ .unwrap_or_else(|e| panic!("Failed to compile proto {:?}", e));
+ println!("cargo:rerun-if-changed=../protos/tunnelbroker.proto");
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 3:01 AM (20 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2675115
Default Alt Text
D6279.id21757.diff (397 B)
Attached To
Mode
D6279: [tunnelbroker-client] Adding of the `build.rs` cargo file to compile protobuf
Attached
Detach File
Event Timeline
Log In to Comment