Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361292
D5432.id17841.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
371 B
Referenced Files
None
Subscribers
None
D5432.id17841.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 initialization();
+ }
+}
+
+pub fn main() {
+ ffi::initialization();
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 4:22 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580416
Default Alt Text
D5432.id17841.diff (371 B)
Attached To
Mode
D5432: [services] Tunnelbroker - Creating `main.rs` entry point file for Rust
Attached
Detach File
Event Timeline
Log In to Comment