Function maturin::auditwheel_rs[][src]

pub fn auditwheel_rs(
    path: &Path,
    target: &Target,
    manylinux: Option<Manylinux>
) -> Result<Policy, AuditWheelError>

An reimplementation of auditwheel, which checks elf files for manylinux compliance.

If manylinux, is None, it returns the the highest matching manylinux policy, or linux if nothing else matches. It will error for bogus cases, e.g. if libpython is linked.

If a specific manylinux version is given, compliance is checked and a warning printed if a higher version would be possible.

Does nothing for manylinux set to off or non-linux platforms.