Page MenuHomePhabricator

D5432.id18116.diff
No OneTemporary

D5432.id18116.diff

diff --git a/services/tunnelbroker/src/main.rs b/services/tunnelbroker/src/main.rs
new file mode 100644
--- /dev/null
+++ b/services/tunnelbroker/src/main.rs
@@ -0,0 +1,11 @@
+#[cxx::bridge]
+mod ffi {
+ unsafe extern "C++" {
+ include!("tunnelbroker/src/libcpp/Tunnelbroker.h");
+ pub fn initialize();
+ }
+}
+
+pub fn main() {
+ ffi::initialize();
+}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 4:53 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580447
Default Alt Text
D5432.id18116.diff (363 B)

Event Timeline