[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
 compilers.

--
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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs