aboutsummaryrefslogtreecommitdiff
path: root/src/race.bash
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2025-07-25 20:41:51 +1000
committerJoel Sing <joel@sing.id.au>2025-08-29 23:57:12 -0700
commit8bcda6c79d40f49363cd04cdaf5bd7909de8f94f (patch)
tree08b2fd4a0d36b177841a1df1348fb3235a3a1894 /src/race.bash
parent8377adafc548a0d9dab831477923d25ce4b10710 (diff)
downloadgo-8bcda6c79d40f49363cd04cdaf5bd7909de8f94f.tar.xz
runtime/race: add race detector support for linux/riscv64
This enables support for the race detector on linux/riscv64. Fixes #64345 Cq-Include-Trybots: luci.golang.try:gotip-linux-riscv64 Change-Id: I98962827e91455404858549b0f9691ee438f104b Reviewed-on: https://go-review.googlesource.com/c/go/+/690497 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/race.bash')
-rwxr-xr-xsrc/race.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/race.bash b/src/race.bash
index ae9f57ffd7..3ce91a345f 100755
--- a/src/race.bash
+++ b/src/race.bash
@@ -9,7 +9,7 @@
set -e
function usage {
- echo 'race detector is only supported on linux/amd64, linux/ppc64le, linux/arm64, linux/loong64, linux/s390x, freebsd/amd64, netbsd/amd64, openbsd/amd64, darwin/amd64, and darwin/arm64' 1>&2
+ echo 'race detector is only supported on linux/amd64, linux/ppc64le, linux/arm64, linux/loong64, linux/riscv64, linux/s390x, freebsd/amd64, netbsd/amd64, openbsd/amd64, darwin/amd64, and darwin/arm64' 1>&2
exit 1
}
@@ -20,6 +20,7 @@ case $(uname -s -m) in
"Linux ppc64le") ;;
"Linux aarch64") ;;
"Linux loongarch64") ;;
+ "Linux riscv64") ;;
"Linux s390x") ;;
"FreeBSD amd64") ;;
"NetBSD amd64") ;;