[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
Mon Jun 4 19:58:34 UTC 2018


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

 * status:  new => assigned
 * owner:  (none) => chelseakomlo


Comment:

 Started initial work this week to keep constants in sync across language
 boundaries, but this should be able to be extended to enums, structs, etc.

 I'll put up an initial POC for review, and then we can talk about some
 questions that I have around project structure/external dependencies (i.e,
 where should generated files on the Rust/C side be in the project
 structure, is it ok that a pre-processing step to generate files relies on
 an external library, etc).

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


More information about the tor-bugs mailing list