From 27a0012bd65a44429e78c19ec18ecf87640d8f45 Mon Sep 17 00:00:00 2001 From: fanzha02 Date: Fri, 19 Jun 2020 11:19:22 +0800 Subject: [PATCH] cmd/dist: don't copy arm64 specific files for bootstap build This patch avoids copying cmd/compile/internal/ssa/flags_arm64_test.s. Fixes #39701 Change-Id: I35d0567e2d3455faf28828c55a0b6d66a5be49e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/238679 Run-TryBot: fannie zhang TryBot-Result: Gobot Gobot Reviewed-by: Keith Randall --- src/cmd/dist/buildtool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go index d055f468e9..9502dac4eb 100644 --- a/src/cmd/dist/buildtool.go +++ b/src/cmd/dist/buildtool.go @@ -115,6 +115,7 @@ var ignorePrefixes = []string{ // These must not be copied into the bootstrap build directory. var ignoreSuffixes = []string{ "_arm64.s", + "_arm64_test.s", "_arm64.go", "_riscv64.s", "_riscv64.go",