Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3382247
D5432.id17864.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.id17864.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
Fri, Nov 29, 9:26 AM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2596557
Default Alt Text
D5432.id17864.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