This patch by Clément Chigot moves golang.org/x/sync/semaphore from the libgo packages to the gotools packages, since it is only used by gofmt. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
e71079517f16fee6759bad2be14f574c3548743e diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 5cf2ace711b..7778cd91235 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -34dece725f9f8826f4abe86209112626867bc716 +943b95876ca0f14c3cea7067d33170ba76cf0fab The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/gotool-packages.txt b/libgo/gotool-packages.txt index 78ce9ba602a..8e105030a7b 100644 --- a/libgo/gotool-packages.txt +++ b/libgo/gotool-packages.txt @@ -63,6 +63,7 @@ golang.org/x/mod/sumdb/dirhash golang.org/x/mod/sumdb/note golang.org/x/mod/sumdb/tlog golang.org/x/mod/zip +golang.org/x/sync/semaphore golang.org/x/tools/go/analysis golang.org/x/tools/go/analysis/internal/analysisflags golang.org/x/tools/go/analysis/internal/facts diff --git a/libgo/libgo-packages.txt b/libgo/libgo-packages.txt index cb2f19d61b3..6b722e1c3ec 100644 --- a/libgo/libgo-packages.txt +++ b/libgo/libgo-packages.txt @@ -95,7 +95,6 @@ golang.org/x/net/http/httpproxy golang.org/x/net/http2/hpack golang.org/x/net/idna golang.org/x/net/nettest -golang.org/x/sync/semaphore golang.org/x/sys/cpu golang.org/x/text/secure/bidirule golang.org/x/text/transform