aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 7189a0650a..9b5f2e9a6d 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -574,7 +574,7 @@ func switchToCrashStack(fn func()) {
abort()
}
-const crashStackImplemented = GOARCH == "amd64" || GOARCH == "arm64"
+const crashStackImplemented = GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "riscv64"
//go:noescape
func switchToCrashStack0(func()) // in assembly