Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3491045
D5807.id20174.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
658 B
Referenced Files
None
Subscribers
None
D5807.id20174.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,5 +1,13 @@
fn main() {
- tonic_build::compile_protos("../../shared/protos/identity.proto")
+ tonic_build::configure()
+ .build_server(false)
+ .compile(
+ &[
+ "../../shared/protos/identity.proto",
+ "../../shared/protos/tunnelbroker.proto",
+ ],
+ &["../../shared/protos"],
+ )
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
let _cxx_build =
cxx_build::bridge("src/lib.rs").flag_if_supported("-std=c++14");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 6:16 PM (13 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676841
Default Alt Text
D5807.id20174.diff (658 B)
Attached To
Mode
D5807: [native/rust_library] Add Tunnelbroker protobuf file compilation to the native client
Attached
Detach File
Event Timeline
Log In to Comment