Page MenuHomePhabricator

D5807.id.diff
No OneTemporary

D5807.id.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, 10:59 AM (3 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676841
Default Alt Text
D5807.id.diff (658 B)

Event Timeline