[tor-bugs] #24249 [Core Tor/Tor]: Create automated mechanism for C/Rust types to stay in sync

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 28 21:22:33 UTC 2018


#24249: Create automated mechanism for C/Rust types to stay in sync
--------------------------+------------------------------
 Reporter:  chelseakomlo  |          Owner:  chelseakomlo
     Type:  enhancement   |         Status:  needs_review
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  rust          |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  isis          |        Sponsor:
--------------------------+------------------------------

Comment (by chelseakomlo):

 Ok, Manish pointed me to this project, which generates C bindings for
 Rust. https://github.com/eqrion/cbindgen

 I definitely think this is the approach we should take, but I'll dig into
 this project to see if it does what we need.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24249#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list