]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] cmd/go/internal/imports: include ToolTags in the Tags map
authorZeke Lu <lvzecai@gmail.com>
Thu, 25 Aug 2022 04:17:00 +0000 (04:17 +0000)
committerHeschi Kreinick <heschi@google.com>
Mon, 29 Aug 2022 19:17:28 +0000 (19:17 +0000)
commit4da9d6aa1015a15b700a8608726bc2a3978ed36e
tree4a894e5ab923b18d7e4587bb44a8fc7cbeba3a31
parent4b1c16cc4527de7539c36dd51f4686663bd644a0
[release-branch.go1.19] cmd/go/internal/imports: include ToolTags in the Tags map

This fixes a regression introduced when the "race" mode tag was moved to
the ToolTags field in CL 358539.

Fixes #54660
Updates #54468

Change-Id: I107771948a4fe9d743cc13d1c15f324212b08e03
GitHub-Last-Rev: d211e351ef3331f2c38b16d327d992a32ebbfe30
GitHub-Pull-Request: golang/go#54618
Reviewed-on: https://go-review.googlesource.com/c/go/+/425154
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 6ba2674ddc5373f261211ba5ebc38496dc660604)
Reviewed-on: https://go-review.googlesource.com/c/go/+/426434
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/go/internal/imports/tags.go
src/cmd/go/testdata/script/test_race_tag.txt [new file with mode: 0644]