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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 14 19:22:48 UTC 2017

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

 * status:  reopened => closed
 * resolution:   => invalid


 Replying to [comment:8 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

 Ah, I'm sorry, I understand what you meant now. `-g` just means it's
 passing `-C debuginfo=2`. Closing as invalid.

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

More information about the tor-bugs mailing list