PKGNAME=cargo-audit
PKGSEC=devel
PKGDES="Audit Cargo.lock files for crates with security vulnerabilities"
PKGDEP="glibc libgit2"
BUILDDEP="llvm rustc"

USECLANG=1
ABTYPE=rust
CARGO_AFTER=('--features' 'fix')

# It is not necessary to check the audit itself to build a new version of cargo-audit
NOCARGOAUDIT=1

# FIXME: note: ld.lld: error: undefined symbol: aws_lc_0_37_0_EVP_parse_private_key
NOLTO=1

FAIL_ARCH="!(mainline|i486)"
