[tor-bugs] #25727 [Core Tor/Tor]: Add bool types to Rust coding standards guidelines

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 23:26:15 UTC 2019


#25727: Add bool types to Rust coding standards guidelines
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:
                                                 |  catalyst
     Type:  enhancement                          |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:  wontfix
 Keywords:  torspec, rust, fast-fix, 035         |  Actual Points:
  -triaged-in-20180711                           |
Parent ID:                                       |         Points:  .1
 Reviewer:  catalyst                             |        Sponsor:
                                                 |  SponsorM-can
-------------------------------------------------+-------------------------
Changes (by catalyst):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 Unfortunately, it seems like [https://github.com/rust-
 lang/rfcs/issues/992#issuecomment-427660590 Rust RFC 992 was closed]
 without taking the final step of explicitly documenting the ABI
 equivalence of Rust's `bool` and C's `_Bool`. Further comments from a Rust
 core team member imply that this is unlikely to be resolved any time soon.

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


More information about the tor-bugs mailing list