Building (deleted) Waterfox 56.2.8: error: missing documentation for macro
Jan Beich
jbeich at FreeBSD.org
Sun Mar 17 16:26:01 UTC 2019
Graham Perrin <grahamperrin at gmail.com> writes:
> error: missing documentation for macro
> -->
> /wrkdirs/usr/ports/www/waterfox/work/Waterfox-56.2.8/servo/components/style_traits/values.rs:341:1
> |
> 341 | macro_rules! define_css_keyword_enum {
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> |
> note: lint level defined here
> -->
> /wrkdirs/usr/ports/www/waterfox/work/Waterfox-56.2.8/servo/components/style_traits/lib.rs:12:22
> |
> 12 | #![deny(unsafe_code, missing_docs)]
> | ^^^^^^^^^^^^
Looks like a regression from Rust 1.33 update.
Either remove missing_docs from #![deny(...)] lines (or lines themselves)
for each one that triggers error (no need to bother with unused ones) or
add MOZ_OPTIONS+=--disable-stylo to Makefile.local.
www/firefox-esr et al. simply backported upstream fixes for warnings to
avoid having to maintain workarounds forever. Rebasing those against
very old Stylo code isn't worth the effort.
More information about the freebsd-gecko
mailing list