]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: make _gen an actual submodule and skip it in TestStdlib
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Mon, 18 Nov 2024 08:15:36 +0000 (16:15 +0800)
committerDavid Chase <drchase@google.com>
Thu, 21 Nov 2024 20:50:15 +0000 (20:50 +0000)
commitefe0a86551c30ceaf71361645023cbea913249d3
tree31449d3a8589028b1abba85039ea9e272f82eeaf
parent6a7733af45493ddc1ededd2d0545004102c811a2
cmd/compile/internal/ssa: make _gen an actual submodule and skip it in TestStdlib

After tools CL 612038, the package astutil stops being vendored, but
_gen/rulegen.go needs to import this package.
In particular, after update golang.org/x/tools, the package astutil
is deleted from the vendor directory, and got error when run TestStdlib
in longtest. So in this CL, we make _gen an actual submodule and
skip it in TestStdlib.

Change-Id: I76f77b66427f6490b4746698711a6e307ad2ba79
Reviewed-on: https://go-review.googlesource.com/c/go/+/629015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
src/cmd/compile/internal/ssa/_gen/go.mod [new file with mode: 0644]
src/cmd/compile/internal/ssa/_gen/go.sum [new file with mode: 0644]
src/cmd/compile/internal/types2/stdlib_test.go
src/go/types/stdlib_test.go