Expand description
Non-API ATTRIB / SET_ATTRIB usage lint.
- MXL304: Warns on calls to, or declarations of, Rโs
ATTRIBandSET_ATTRIB(and their_uncheckedforms). Neither is part of Rโs API:R CMD checkon R >= 4.6 reports a package whose shared object references them. miniextendr-api only declares them behind itsnonapifeature, so this rule mainly catches a crate that declares the symbol itself in anexternblock to get around that.
Re-exportsยง
use crate::crate_index::CrateIndex;๐use crate::diagnostic::Diagnostic;๐use crate::lint_code::LintCode;๐