Page MenuHomePhabricator

D5807.id19933.diff
No OneTemporary

D5807.id19933.diff

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

Mime Type
text/plain
Expires
Thu, Dec 19, 6:16 PM (14 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676841
Default Alt Text
D5807.id19933.diff (658 B)

Event Timeline