Skip to main content

Module nonapi_attrib

Module nonapi_attrib 

Source
Expand description

Non-API ATTRIB / SET_ATTRIB usage lint.

  • MXL304: Warns on calls to, or declarations of, Rโ€™s ATTRIB and SET_ATTRIB (and their _unchecked forms). Neither is part of Rโ€™s API: R CMD check on R >= 4.6 reports a package whose shared object references them. miniextendr-api only declares them behind its nonapi feature, so this rule mainly catches a crate that declares the symbol itself in an extern block to get around that.

Re-exportsยง

use crate::crate_index::CrateIndex; ๐Ÿ”’
use crate::diagnostic::Diagnostic; ๐Ÿ”’
use crate::lint_code::LintCode; ๐Ÿ”’

Functionsยง

check