From 7bc993400f6aaf787337f2206634f034bcc6f85a Mon Sep 17 00:00:00 2001 From: psykose Date: Wed, 10 May 2023 13:01:07 +0000 Subject: [PATCH] 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. --- newapkbuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newapkbuild.in b/newapkbuild.in index 0d2132d..a273763 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -32,7 +32,7 @@ is_github_url() { prepare_rust() { cat >>APKBUILD<<__EOF__ - cargo fetch --locked + cargo fetch --target="$CTARGET" --locked __EOF__ }