[MacPorts] #65257: rust: large volume of compilation warnings, pollutes build log

MacPorts noreply at macports.org
Sun Jun 12 17:33:51 UTC 2022


#65257: rust: large volume of compilation warnings, pollutes build log
----------------------+---------------------------------
  Reporter:  mascguy  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.2
Resolution:           |   Keywords:
      Port:  rust     |
----------------------+---------------------------------

Comment (by MarcusCalhoun-Lopez):

 Indeed, the first recommendation of
 [https://www.google.com/books/edition/C++_Coding_Standards/mmjVIC6WolgC?hl=en&gbpv=1&printsec=frontcover
 C++ Coding Standards] is to compiler code "cleanly at high warning
 levels."

 Nearly all of our patches have been merged upstream, so I doubt this is a
 MacPorts issue.\\
 Also, Rust does not seem to make
 [https://stackoverflow.com/questions/25877285/how-to-disable-unused-code-
 warnings-in-rust suppressing warning] trivial.\\
 Also also, some of the warnings are from crates and not from Rust itself.

 I am inclined to close this ticket since things are behaving as
 intended.\\
 As needed, we'll have to propose fixes to the various upstream maintainers
 to compile cleanly.\\
 Any thoughts?

-- 
Ticket URL: <https://trac.macports.org/ticket/65257#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list