newapkbuild: fetch --target for rust

this fetches only things for the target triple, so it usually skips e.g.
all the windows crates.
we do this in aports already, in places where it doesn't work we just
unset it.
This commit is contained in:
psykose 2023-05-10 13:01:07 +00:00
parent f810a11cfb
commit 7bc993400f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ is_github_url() {
prepare_rust() {
cat >>APKBUILD<<__EOF__
cargo fetch --locked
cargo fetch --target="$CTARGET" --locked
__EOF__
}