rust-cargo-audit: fix cross

This commit is contained in:
Michal Vasilek 2022-08-20 09:39:19 +02:00
parent fd6869b027
commit 93a55a0be0

View file

@ -18,7 +18,8 @@ if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
fi
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {