Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3493705
D5807.id19130.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.id19130.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
Fri, Dec 20, 3:56 AM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676841
Default Alt Text
D5807.id19130.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