Function maturin::auditwheel_rs [−][src]
pub fn auditwheel_rs(
path: &Path,
target: &Target,
platform_tag: Option<PlatformTag>
) -> Result<Policy, AuditWheelError>
Expand description
An reimplementation of auditwheel, which checks elf files for manylinux/musllinux compliance.
If platform_tag
, is None, it returns the the highest matching manylinux/musllinux policy, or linux
if nothing else matches. It will error for bogus cases, e.g. if libpython is linked.
If a specific manylinux/musllinux version is given, compliance is checked and a warning printed if a higher version would be possible.
Does nothing for platform_tag
set to Off
/Linux
or non-linux platforms.