From 30ef6460bfb553ff1e460d8197282c06cf6adb51 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Mon, 5 Jul 2021 16:33:48 -0600
Subject: [PATCH] testing: disable a ton of packages depending on rust for
 riscv64

---
 testing/asuran-cli/APKBUILD                    | 2 +-
 testing/b3sum/APKBUILD                         | 2 +-
 testing/bitwarden_rs/APKBUILD                  | 2 +-
 testing/cargo-c/APKBUILD                       | 2 +-
 testing/castor/APKBUILD                        | 2 +-
 testing/delta/APKBUILD                         | 2 +-
 testing/diskus/APKBUILD                        | 2 +-
 testing/greetd/APKBUILD                        | 2 +-
 testing/grpc-health-check/APKBUILD             | 2 +-
 testing/i3status-rust/APKBUILD                 | 2 +-
 testing/kak-lsp/APKBUILD                       | 2 +-
 testing/librespot/APKBUILD                     | 2 +-
 testing/mdbook/APKBUILD                        | 2 +-
 testing/mdcat/APKBUILD                         | 2 +-
 testing/miniserve/APKBUILD                     | 2 +-
 testing/nushell/APKBUILD                       | 2 +-
 testing/onefetch/APKBUILD                      | 2 +-
 testing/pastel/APKBUILD                        | 2 +-
 testing/piping-server/APKBUILD                 | 2 +-
 testing/procs/APKBUILD                         | 2 +-
 testing/prometheus-wireguard-exporter/APKBUILD | 2 +-
 testing/rav1e/APKBUILD                         | 2 +-
 testing/rpg-cli/APKBUILD                       | 2 +-
 testing/sccache/APKBUILD                       | 2 +-
 testing/skim/APKBUILD                          | 2 +-
 testing/synapse-bt/APKBUILD                    | 2 +-
 testing/thunderbird/APKBUILD                   | 2 +-
 testing/twiggy/APKBUILD                        | 2 +-
 testing/viu/APKBUILD                           | 2 +-
 testing/vocage/APKBUILD                        | 2 +-
 testing/websocat/APKBUILD                      | 2 +-
 testing/zkgroup/APKBUILD                       | 2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/testing/asuran-cli/APKBUILD b/testing/asuran-cli/APKBUILD
index 4d0a8d1a14bf..bc33c22963cf 100644
--- a/testing/asuran-cli/APKBUILD
+++ b/testing/asuran-cli/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.1.6
 pkgrel=1
 pkgdesc="Asuran is a new archive format and rust implementation"
 url="https://gitlab.com/asuran-rs/asuran"
-arch="all !s390x !mips !mips64"
+arch="all !s390x !mips !mips64 !riscv64"
 license="BSD-2-Clause-Patent"
 makedepends="cargo openssl-dev"
 source="https://gitlab.com/asuran-rs/asuran/-/archive/v$pkgver/asuran-v$pkgver.tar.gz"
diff --git a/testing/b3sum/APKBUILD b/testing/b3sum/APKBUILD
index 4065d331b432..3fccbfb19f59 100644
--- a/testing/b3sum/APKBUILD
+++ b/testing/b3sum/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.3.8
 pkgrel=0
 pkgdesc="Command line implementation of the BLAKE3 hash function"
 url="https://blake3.io"
-arch="all !s390x !armhf !mips !mips64" # armhf: 'vaddq_u32': target specific option mismatch
+arch="all !s390x !armhf !mips !mips64 !riscv64" # armhf: 'vaddq_u32': target specific option mismatch
 license="CC0-1.0 OR Apache-2.0"
 makedepends="cargo"
 source="b3sum-$pkgver.tar.gz::https://crates.io/api/v1/crates/b3sum/$pkgver/download"
diff --git a/testing/bitwarden_rs/APKBUILD b/testing/bitwarden_rs/APKBUILD
index 3eb2ea952399..26986250d23c 100644
--- a/testing/bitwarden_rs/APKBUILD
+++ b/testing/bitwarden_rs/APKBUILD
@@ -7,7 +7,7 @@ pkgrel=1
 pkgdesc="bitwarden alternative backend"
 _bw_web_ver=2.17.1
 url="https://github.com/dani-garcia/bitwarden_rs"
-arch="all !ppc64le !s390x !mips !mips64" # ring crate has platform specific asm - no ppc support, no rust on s390x & mips*
+arch="all !ppc64le !s390x !mips !mips64 !riscv64" # ring crate has platform specific asm - no ppc support, no rust on s390x & mips*
 license="GPL-3.0-only"
 makedepends="rust cargo sqlite-dev postgresql-dev"
 install="$pkgname.pre-install"
diff --git a/testing/cargo-c/APKBUILD b/testing/cargo-c/APKBUILD
index 9e8e5cd65307..ffabfbbe2508 100644
--- a/testing/cargo-c/APKBUILD
+++ b/testing/cargo-c/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.9.0
 pkgrel=0
 pkgdesc="cargo subcommand to build and install C-ABI compatibile dynamic and static libraries"
 url="https://github.com/lu-zero/cargo-c"
-arch="all !s390x !mips !mips64" # no cargo for these archies
+arch="all !s390x !mips !mips64 !riscv64" # no cargo for these archies
 license="MIT"
 makedepends="cargo openssl-dev"
 subpackages="$pkgname-doc"
diff --git a/testing/castor/APKBUILD b/testing/castor/APKBUILD
index 9c100a92613c..0bc664660d4e 100644
--- a/testing/castor/APKBUILD
+++ b/testing/castor/APKBUILD
@@ -4,7 +4,7 @@ pkgver=0.8.16
 pkgrel=0
 pkgdesc="A graphical browser for Gemini, Gopher and Finger."
 url="https://sr.ht/~julienxx/Castor/"
-arch="all !s390x !mips !mips64" # limited by rust/cargo
+arch="all !s390x !mips !mips64 !riscv64" # limited by rust/cargo
 license="MIT"
 makedepends="rust cargo gtk+3.0-dev openssl-dev"
 source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~julienxx/castor/archive/$pkgver.tar.gz"
diff --git a/testing/delta/APKBUILD b/testing/delta/APKBUILD
index 0e22f7c22337..63eb056f8af8 100644
--- a/testing/delta/APKBUILD
+++ b/testing/delta/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.8.2
 pkgrel=0
 pkgdesc="A viewer for git and diff output"
 url="https://github.com/dandavison/delta"
-arch="all !s390x !mips !mips64" # Limited by cargo
+arch="all !s390x !mips !mips64 !riscv64" # Limited by cargo
 license="MIT"
 makedepends="cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/dandavison/delta/archive/$pkgver.tar.gz"
diff --git a/testing/diskus/APKBUILD b/testing/diskus/APKBUILD
index a6effdff5447..388b282c422e 100644
--- a/testing/diskus/APKBUILD
+++ b/testing/diskus/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.6.0
 pkgrel=0
 pkgdesc="fast alternative for du"
 url="https://github.com/sharkdp/diskus"
-arch="all !s390x !mips !mips64" # limited by cargo
+arch="all !s390x !mips !mips64 !riscv64" # limited by cargo
 options="!check" #size_of_single_file test timout on armhf
 license="MIT"
 makedepends="cargo"
diff --git a/testing/greetd/APKBUILD b/testing/greetd/APKBUILD
index 2c25f41646f2..2fb2e0fd66b2 100644
--- a/testing/greetd/APKBUILD
+++ b/testing/greetd/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.7.0
 pkgrel=0
 pkgdesc="Minimal and flexible login manager daemon"
 url="https://git.sr.ht/~kennylevinsen/greetd"
-arch="all !mips64 !s390x" # blocked by cargo
+arch="all !mips64 !s390x !riscv64" # blocked by cargo
 license="GPL-3.0-only"
 makedepends="cargo linux-pam-dev scdoc"
 install="$pkgname.pre-install"
diff --git a/testing/grpc-health-check/APKBUILD b/testing/grpc-health-check/APKBUILD
index 58729499a8cf..eadd39de33af 100644
--- a/testing/grpc-health-check/APKBUILD
+++ b/testing/grpc-health-check/APKBUILD
@@ -3,7 +3,7 @@
 pkgname=grpc-health-check
 pkgver=0.1.0
 pkgrel=0
-arch="all !s390x !ppc64le !armhf !armv7 !mips64"
+arch="all !s390x !ppc64le !armhf !armv7 !mips64 !riscv64"
 pkgdesc="gRPC health checking protocol"
 url="https://github.com/paypizza/grpc-health-check"
 license="Apache-2.0"
diff --git a/testing/i3status-rust/APKBUILD b/testing/i3status-rust/APKBUILD
index acce2bed8f8a..778b84591791 100644
--- a/testing/i3status-rust/APKBUILD
+++ b/testing/i3status-rust/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.20.2
 pkgrel=0
 pkgdesc="i3status replacement in Rust"
 url="https://github.com/greshake/i3status-rust"
-arch="all !s390x !mips !mips64" # limited by cargo
+arch="all !s390x !mips !mips64 !riscv64" # limited by cargo
 license="GPL-3.0-only"
 makedepends="rust cargo dbus-dev openssl-dev libpulse"
 options="net !check" # no tests
diff --git a/testing/kak-lsp/APKBUILD b/testing/kak-lsp/APKBUILD
index a9d12e47c306..2e737dd829b2 100644
--- a/testing/kak-lsp/APKBUILD
+++ b/testing/kak-lsp/APKBUILD
@@ -5,7 +5,7 @@ pkgver=9.0.0
 pkgrel=0
 pkgdesc="Language Server Protocol client for Kakoune implemented in Rust"
 url="https://github.com/kak-lsp/kak-lsp"
-arch="all !s390x !mips !mips64 !ppc64le" # limited by cargo
+arch="all !s390x !mips !mips64 !ppc64le !riscv64" # limited by cargo
 license="Unlicense OR MIT"
 makedepends="cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/kak-lsp/kak-lsp/archive/v$pkgver.tar.gz"
diff --git a/testing/librespot/APKBUILD b/testing/librespot/APKBUILD
index 4b68d7fc9b9b..bb37b01fc60f 100644
--- a/testing/librespot/APKBUILD
+++ b/testing/librespot/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.2.0
 pkgrel=0
 pkgdesc="Open Source Spotify client library"
 url="https://github.com/librespot-org/librespot"
-arch="all !s390x !mips64" # limited by cargo
+arch="all !s390x !mips64 !riscv64" # limited by cargo
 license="MIT"
 options="!check" # no test suite
 makedepends="cargo>=1.48 alsa-lib-dev"
diff --git a/testing/mdbook/APKBUILD b/testing/mdbook/APKBUILD
index f9d5e44643f4..815f4d314ceb 100644
--- a/testing/mdbook/APKBUILD
+++ b/testing/mdbook/APKBUILD
@@ -4,7 +4,7 @@ pkgver=0.4.9
 pkgrel=0
 pkgdesc="mdBook is a utility to create modern online books from Markdown files"
 url="https://rust-lang.github.io/mdBook/"
-arch="all !s390x !mips !mips64" # limited by cargo
+arch="all !s390x !mips !mips64 !riscv64" # limited by cargo
 license="MPL-2.0"
 makedepends="rust cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/rust-lang-nursery/mdBook/archive/v$pkgver.tar.gz"
diff --git a/testing/mdcat/APKBUILD b/testing/mdcat/APKBUILD
index 4f4ffaa9fb9a..e438bf8319a0 100644
--- a/testing/mdcat/APKBUILD
+++ b/testing/mdcat/APKBUILD
@@ -7,7 +7,7 @@ pkgdesc="Cat for markdown"
 url="https://github.com/lunaryorn/mdcat"
 # s390x, mips, mips64 limited by cargo
 # ppc64le fails to build 'ring v0.16.19'
-arch="all !s390x !mips !mips64 !ppc64le"
+arch="all !s390x !mips !mips64 !ppc64le !riscv64"
 license="Apache-2.0"
 makedepends="asciidoctor cargo openssl-dev"
 checkdepends="py3-ansi2html"
diff --git a/testing/miniserve/APKBUILD b/testing/miniserve/APKBUILD
index b96320fdcbf1..b7d7758c5443 100644
--- a/testing/miniserve/APKBUILD
+++ b/testing/miniserve/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
 pkgdesc="Quickly serve files via HTTP"
 url="https://github.com/svenstaro/miniserve"
 license="MIT"
-arch="all !s390x !mips64" # limited by rust/cargo
+arch="all !s390x !mips64 !riscv64" # limited by rust/cargo
 arch="$arch !ppc64le" # FTBFS
 makedepends="cargo"
 subpackages="$pkgname-bash-completion $pkgname-fish-completion $pkgname-zsh-completion"
diff --git a/testing/nushell/APKBUILD b/testing/nushell/APKBUILD
index a76a3a078ad1..5ee37b7d0278 100644
--- a/testing/nushell/APKBUILD
+++ b/testing/nushell/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
 pkgdesc="A new type of shell"
 url="https://www.nushell.sh"
 # s390x, mips, mips64: limited by cargo
-arch="all !s390x !mips !mips64"
+arch="all !s390x !mips !mips64 !riscv64"
 license="MIT"
 makedepends="cargo pkgconf openssl-dev libx11-dev libxcb-dev libgit2-dev python3"
 source="$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz"
diff --git a/testing/onefetch/APKBUILD b/testing/onefetch/APKBUILD
index 1291e196d4a5..79ba537562ac 100644
--- a/testing/onefetch/APKBUILD
+++ b/testing/onefetch/APKBUILD
@@ -5,7 +5,7 @@ pkgver=2.9.1
 pkgrel=0
 pkgdesc="Git repository summary on your terminal"
 url="https://github.com/o2sh/onefetch"
-arch="all !s390x !mips !mips64"
+arch="all !s390x !mips !mips64 !riscv64"
 license="MIT"
 makedepends="cargo libgit2-dev zlib-dev"
 source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/onefetch/$pkgver/download"
diff --git a/testing/pastel/APKBUILD b/testing/pastel/APKBUILD
index cf8373b9bf3d..007da7404896 100644
--- a/testing/pastel/APKBUILD
+++ b/testing/pastel/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.8.0
 pkgrel=0
 pkgdesc="A command-line tool to generate, analyze, convert and manipulate colors"
 url="https://github.com/sharkdp/pastel"
-arch="all !s390x !mips !mips64" # rust/cargo
+arch="all !s390x !mips !mips64 !riscv64" # rust/cargo
 license="Apache-2.0"
 makedepends="rust cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/pastel/archive/v$pkgver.tar.gz"
diff --git a/testing/piping-server/APKBUILD b/testing/piping-server/APKBUILD
index eb591318246e..38134d5eebd4 100644
--- a/testing/piping-server/APKBUILD
+++ b/testing/piping-server/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
 pkgdesc="Infinitely transfer data between devices over HTTP"
 url="https://github.com/nwtgck/piping-server-rust"
 license="MIT"
-arch="all !s390x !mips64" # limited by cargo
+arch="all !s390x !mips64 !riscv64" # limited by cargo
 arch="$arch !ppc64le" # FTBFS
 makedepends="cargo"
 subpackages="$pkgname-openrc"
diff --git a/testing/procs/APKBUILD b/testing/procs/APKBUILD
index 4f98868f7674..248685b9f04d 100644
--- a/testing/procs/APKBUILD
+++ b/testing/procs/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.11.8
 pkgrel=0
 pkgdesc="Modern replacement for ps written in Rust"
 url="https://github.com/dalance/procs"
-arch="all !mips64 !s390x" # limited by rust/cargo
+arch="all !mips64 !s390x !riscv64" # limited by rust/cargo
 license="MIT"
 options="net"
 makedepends="cargo"
diff --git a/testing/prometheus-wireguard-exporter/APKBUILD b/testing/prometheus-wireguard-exporter/APKBUILD
index 3a12f93b2f7f..38e472e0ebe4 100644
--- a/testing/prometheus-wireguard-exporter/APKBUILD
+++ b/testing/prometheus-wireguard-exporter/APKBUILD
@@ -4,7 +4,7 @@ pkgver=3.2.1
 pkgrel=2
 pkgdesc="A Prometheus exporter for WireGuard, written in Rust"
 url="https://github.com/MindFlavor/prometheus_wireguard_exporter"
-arch="all !s390x !ppc64le !mips !mips64" #Crypto is broken (https://github.com/briansmith/ring/issues/389)
+arch="all !s390x !ppc64le !mips !mips64 !riscv64" #Crypto is broken (https://github.com/briansmith/ring/issues/389)
 license="MIT"
 makedepends="cargo"
 subpackages="$pkgname-openrc"
diff --git a/testing/rav1e/APKBUILD b/testing/rav1e/APKBUILD
index 7cfcfadc821d..f59003a225f1 100644
--- a/testing/rav1e/APKBUILD
+++ b/testing/rav1e/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.4.1
 pkgrel=0
 pkgdesc="The fastest and safest AV1 encoder"
 url="https://github.com/xiph/rav1e"
-arch="all !s390x !mips !mips64" # no cargo for s390x
+arch="all !s390x !mips !mips64 !riscv64" # no cargo for s390x
 arch="$arch !x86 !armv7 !armhf" # tests fail on these archies
 license="BSD-2-Clause custom"
 makedepends="cargo cargo-c nasm openssl-dev"
diff --git a/testing/rpg-cli/APKBUILD b/testing/rpg-cli/APKBUILD
index 00e2fe9e8ae1..3e493a4c5a34 100644
--- a/testing/rpg-cli/APKBUILD
+++ b/testing/rpg-cli/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
 pkgdesc="Your filesystem as a dungeon!"
 url="https://github.com/facundoolano/rpg-cli"
 license="MIT"
-arch="all !s390x !mips64" # blocked by rust/cargo
+arch="all !s390x !mips64 !riscv64" # blocked by rust/cargo
 makedepends="cargo"
 source="https://github.com/facundoolano/rpg-cli/archive/$pkgver/rpg-cli-$pkgver.tar.gz"
 
diff --git a/testing/sccache/APKBUILD b/testing/sccache/APKBUILD
index ebde10dfaa85..78648a6d71f1 100644
--- a/testing/sccache/APKBUILD
+++ b/testing/sccache/APKBUILD
@@ -7,7 +7,7 @@ url="https://github.com/mozilla/sccache/"
 # s390x & mips64: limited by cargo
 # ppc64le: not supported by ring crate
 # armhf: sigbus
-arch="all !s390x !mips64 !ppc64le !armhf"
+arch="all !s390x !mips64 !ppc64le !armhf !riscv64"
 license="Apache-2.0"
 makedepends="cargo openssl-dev"
 subpackages="$pkgname-doc"
diff --git a/testing/skim/APKBUILD b/testing/skim/APKBUILD
index 628d5ebff9a2..50ce1e9ebb21 100644
--- a/testing/skim/APKBUILD
+++ b/testing/skim/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.9.4
 pkgrel=0
 pkgdesc="Fuzzy finder in rust"
 url="https://github.com/lotabout/skim"
-arch="all !s390x !mips !mips64" # limited by rust/cargo
+arch="all !s390x !mips !mips64 !riscv64" # limited by rust/cargo
 license="MIT"
 makedepends="cargo"
 options="net"
diff --git a/testing/synapse-bt/APKBUILD b/testing/synapse-bt/APKBUILD
index 1036a6a8cfa8..20eb2bb5f64a 100644
--- a/testing/synapse-bt/APKBUILD
+++ b/testing/synapse-bt/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.0
 pkgrel=2
 pkgdesc="Flexible and fast BitTorrent daemon"
 url="https://github.com/Luminarys/synapse"
-arch="all !aarch64 !s390x !mips !mips64" # Cargo (aarch64 due to MAP_32BIT)
+arch="all !aarch64 !s390x !mips !mips64 !riscv64" # Cargo (aarch64 due to MAP_32BIT)
 license="ISC"
 pkgusers="synapse-bt"
 pkggroups="synapse-bt"
diff --git a/testing/thunderbird/APKBUILD b/testing/thunderbird/APKBUILD
index 2a77afe9f8eb..6fa4bbeb5297 100644
--- a/testing/thunderbird/APKBUILD
+++ b/testing/thunderbird/APKBUILD
@@ -10,7 +10,7 @@ url="https://www.thunderbird.net/"
 # s390x: limited by pipewire
 # armhf: build failure on armhf due to wasm
 # ppc64le: Rust SIGSEGVs when compiling gkrust
-arch="all !s390x !armhf !mips !mips64 !ppc64le"
+arch="all !s390x !armhf !mips !mips64 !ppc64le !riscv64"
 license="GPL-3.0-or-later AND LGPL-2.1-or-later AND MPL-2.0"
 options="!check"
 depends="
diff --git a/testing/twiggy/APKBUILD b/testing/twiggy/APKBUILD
index 191ecc1cd594..2399ed5d80d4 100644
--- a/testing/twiggy/APKBUILD
+++ b/testing/twiggy/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.6.0
 pkgrel=1
 pkgdesc="Twiggy a code size profiler for Wasm"
 url="https://github.com/rustwasm/twiggy"
-arch="all !s390x !mips !mips64" # Limited by cargo
+arch="all !s390x !mips !mips64 !riscv64" # Limited by cargo
 license="Apache-2.0"
 makedepends="cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/rustwasm/twiggy/archive/$pkgver.tar.gz"
diff --git a/testing/viu/APKBUILD b/testing/viu/APKBUILD
index 8bee6392263f..2c77316f466e 100644
--- a/testing/viu/APKBUILD
+++ b/testing/viu/APKBUILD
@@ -3,7 +3,7 @@ pkgname=viu
 pkgver=1.3.0
 pkgrel=0
 pkgdesc="terminal image viewer"
-arch="all !s390x !mips64" # limited by cargo
+arch="all !s390x !mips64 !riscv64" # limited by cargo
 url="https://github.com/atanunq/viu"
 license="MIT"
 makedepends="cargo"
diff --git a/testing/vocage/APKBUILD b/testing/vocage/APKBUILD
index 4e4302d141f4..8338e69c4503 100644
--- a/testing/vocage/APKBUILD
+++ b/testing/vocage/APKBUILD
@@ -4,7 +4,7 @@ pkgver=1.1.0
 pkgrel=0
 pkgdesc="Minimalistic terminal-based vocabulary-learning tool"
 url="https://github.com/proycon/vocage"
-arch="all !s390x !mips !mips64"
+arch="all !s390x !mips !mips64 !riscv64"
 license="GPL-3.0-or-later"
 makedepends="rust cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/proycon/vocage/archive/refs/tags/v$pkgver.tar.gz"
diff --git a/testing/websocat/APKBUILD b/testing/websocat/APKBUILD
index a5e1cae306b1..0104004a4a78 100644
--- a/testing/websocat/APKBUILD
+++ b/testing/websocat/APKBUILD
@@ -4,7 +4,7 @@ pkgver=1.7.0
 pkgrel=0
 pkgdesc="Netcat, curl and socat for WebSockets"
 url="https://github.com/vi/websocat"
-arch="all !s390x !mips !mips64" # Limited by cargo/rust
+arch="all !s390x !mips !mips64 !riscv64" # Limited by cargo/rust
 license="MIT"
 makedepends="cargo"
 options="net"
diff --git a/testing/zkgroup/APKBUILD b/testing/zkgroup/APKBUILD
index 8ad9050dc9f8..75a04f8c37e8 100644
--- a/testing/zkgroup/APKBUILD
+++ b/testing/zkgroup/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.7.2
 pkgrel=0
 pkgdesc="Library for the Signal Private Group System"
 url="https://github.com/signalapp/zkgroup"
-arch="all !s390x !mips !mips64 !ppc64le" # limited by cargo
+arch="all !s390x !mips !mips64 !ppc64le !riscv64" # limited by cargo
 license="GPL-3.0-only"
 makedepends="cargo"
 source="$pkgname-$pkgver.tar.gz::https://github.com/signalapp/zkgroup/archive/v$pkgver.tar.gz"
-- 
GitLab