commit | 090af6d6344176653a725a32332977a644bca8f9 | [log] [tgz] |
---|---|---|
author | Mark Ryan <markdryan@rivosinc.com> | Mon Aug 25 14:16:31 2025 +0200 |
committer | Mark Ryan <markdryan@rivosinc.com> | Fri Aug 29 02:47:08 2025 -0700 |
tree | d16a178f2f3827138daba408820cc6a6b47af018 | |
parent | 981dfb93ab29835405565cbd6975de348c266385 [diff] |
riscv64: fix argument count check in spec.go The code was panicking instead of reporting an error when an incorrect number of arguments were passed. Change-Id: I1ed8c94cedc8501160dbc65cdfc28badf67bf4f0 Reviewed-on: https://go-review.googlesource.com/c/arch/+/698895 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Joel Sing <joel@sing.id.au> Reviewed-by: Joel Sing <joel@sing.id.au> Reviewed-by: Carlos Amedee <carlos@golang.org>
This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/arch.
The main issue tracker for the arch repository is located at https://go.dev/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.