macro_rules! package_arch_prop {
(
$line:ident,
$errors:ident,
$lint_architectures:ident,
$architecture_properties:ident,
$arch_property:ident,
$field_name:ident,
) => { ... };
}
Expand description
Handles all potentially architecture specific Vector entries in the Package::from_parsed
function.
If no architecture is encountered, it simply adds the value on the Package
itself.
Otherwise, it clears the value on the respective Package::architecture_properties
entry.
Furthermore, adds linter warnings if an architecture is encountered that doesn’t exist in the
PackageBase::architectures
or Package::architectures
if overridden.