rust-cargo-audit: broken on 32-bit BE

This commit is contained in:
q66 2020-11-05 14:45:20 +01:00
parent 3159484e69
commit 08ef5cf3ee
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ homepage="https://rustsec.org"
distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate"
checksum=5c04240c97606ef511e5df2e26eb8c7c30031d015613c1f01c59068b50da7df2
if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="smartstring crate does not build on 32-bit BE architectures"
fi
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}