]> Cypherpunks repositories - gostls13.git/commitdiff
internal/coverage: add internal/stringslite to hard-coded coverpkg ID list
authorThan McIntosh <thanm@google.com>
Tue, 30 Jul 2024 13:47:58 +0000 (13:47 +0000)
committerThan McIntosh <thanm@google.com>
Tue, 30 Jul 2024 14:19:02 +0000 (14:19 +0000)
Add internal/stringslite to the list of hard-coded package IDs to be
special cased in coverage package registration. This patch fixes
a new -coverpkg=all failure on the darwin longtest builders.

Change-Id: I56357572f215fab09f46226fe205924136322d9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/601755
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/coverage/pkid.go

index 46de9fd0ced2e07c8b54f67866a38a9d851409d9..d2449a65ac3e9822a0e10cf9432e4b7afdadd4b9 100644 (file)
@@ -56,6 +56,7 @@ var rtPkgs = [...]string{
        "internal/bytealg",
        "internal/goexperiment",
        "internal/runtime/syscall",
+       "internal/stringslite",
        "runtime",
 }