Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3509993
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
745 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/native/native_rust_library/build.rs b/native/native_rust_library/build.rs
index 7cc0eb888..d1f419914 100644
--- a/native/native_rust_library/build.rs
+++ b/native/native_rust_library/build.rs
@@ -1,7 +1,15 @@
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");
println!("cargo:rerun-if-changed=src/hello.c");
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Dec 23, 10:07 AM (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2690758
Default Alt Text
(745 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment