[tor-bugs] #22909 [Core Tor/Tor]: Our Rust code is always built in debug mode

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 1 16:15:17 UTC 2017

#22909: Our Rust code is always built in debug mode
 Reporter:  isis                         |          Owner:  (none)
     Type:  defect                       |         Status:  reopened
 Priority:  Medium                       |      Milestone:  Tor:
                                         |  0.3.2.x-final
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  rust, rust-pilot, tor-build  |  Actual Points:
Parent ID:                               |         Points:  .1
 Reviewer:                               |        Sponsor:  SponsorZ

Comment (by infinity0):

 I should have been explicit earlier but this ticket really should be
 closed, it is invalid.

 debug mode is `[profile.debug]`, i.e. what happens when you leave out
 `--release` when invoking `cargo`.

 `debug = true` is ''not'' "debug mode", it is to tell rustc to add DWARF2
 debuginfo to the ELF binaries and is equivalent to `-g` flags to C

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

More information about the tor-bugs mailing list