[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:  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


Comment:

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

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