]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: Enable arm64 assembler tests for cross-compiler builds
authorSebastian Nickolls <sebastian.nickolls@arm.com>
Thu, 25 Apr 2024 16:19:20 +0000 (17:19 +0100)
committerCherry Mui <cherryyz@google.com>
Mon, 24 Jun 2024 15:33:07 +0000 (15:33 +0000)
commit0def9d5c02166b50a011b4cc8d4c1d891a04f89d
tree55c52d17c70bae11b61dd3f17f79bda6eaa4c5cb
parent085cf0fcdc4faa2f473839f8cc1860ec5bcf97a3
cmd/internal/obj/arm64: Enable arm64 assembler tests for cross-compiler builds

Some of the tests for the arm64 assembler are not running for
cross-compiled arm64 builds with GOARCH=arm64. This patch allows the
tests to run for all architectures and moves the test that can only run on
arm64 into its own conditionally compiled file.

Updates #44734

Change-Id: I045870d47cdc1280bfacc1ef275f34504278ed89
Reviewed-on: https://go-review.googlesource.com/c/go/+/587315
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Sebastian Nickolls <sebastian.nickolls@arm.com>
src/cmd/internal/obj/arm64/asm_arm64_test.go
src/cmd/internal/obj/arm64/asm_test.go [new file with mode: 0644]