Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33078810
D5807.1768450687.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
658 B
Referenced Files
None
Subscribers
None
D5807.1768450687.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, Jan 15, 4:18 AM (19 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5929979
Default Alt Text
D5807.1768450687.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