[tor-bugs] #25639 [Core Tor/Tor]: think about Rust crate boundaries
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Mon May 28 16:15:56 UTC 2018
    
    
  
#25639: think about Rust crate boundaries
--------------------------+----------------------------------
 Reporter:  Hello71       |          Owner:  Hello71
     Type:  enhancement   |         Status:  closed
 Priority:  Low           |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:  wontfix
 Keywords:  rust          |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------
Comment (by chelseakomlo):
 Replying to [comment:16 Hello71]:
 > basically comment:10, summary: "how do C programs that are trying to
 integrate Rust do tests (unit and integration)? assume we want to migrate
 gradually, but want to look at using all Rust eventually."
 Currently tor has C unit and integration tests, and Rust unit tests. The
 problem we are currently facing is how to write Rust integration tests
 that call C- see #25386.
 From https://trac.torproject.org/projects/tor/ticket/25639#comment:9, it
 sounds like FireFox/Servo do not have Rust integration tests that call C
 dependencies, and instead only have Rust unit tests and C unit/integration
 tests.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25639#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list