Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361383
D5432.id18116.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
363 B
Referenced Files
None
Subscribers
None
D5432.id18116.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5432: [services] Tunnelbroker - Creating `main.rs` entry point file for Rust
Attached
Detach File
Event Timeline
Log In to Comment