1
0
mirror of https://github.com/golang/go synced 2024-11-25 23:48:01 -07:00
go/src/cmd
Tobias Klauser 9deda35ff8 cmd/cgo: use slices.ContainsFunc
Now that Go 1.22.6 is the minimum bootstrap toolchain (cf. CL 606156),
the slices package (introduced in Go 1.21) can be used in packages built
using the bootstrap toolchain.

For #64751

Change-Id: Ib36f39016f57c5e110f78a85ca9c806d91356024
Reviewed-on: https://go-review.googlesource.com/c/go/+/612316
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-11 14:12:40 +00:00
..
addr2line cmd/addr2line: use t.TempDir 2024-09-06 13:23:48 +00:00
api all: fix printf(var) mistakes detected by latest printf checker 2024-09-04 18:16:59 +00:00
asm cmd/asm/internal: use slices.Contains 2024-09-06 13:17:27 +00:00
buildid cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
cgo cmd/cgo: use slices.ContainsFunc 2024-09-11 14:12:40 +00:00
compile cmd/compile/internal/ssa: optimize rules Zero and Move on loong64 2024-09-11 00:35:48 +00:00
covdata cmd: use testenv.Executable helper 2024-09-03 18:03:19 +00:00
cover cmd: replace many sort.Interface with slices.Sort and SortFunc 2024-09-03 20:55:18 +00:00
dist cmd: remove notsha256 package 2024-09-04 18:27:49 +00:00
distpack misc/wasm: move wasm runtime files to lib/wasm 2024-08-30 19:15:21 +00:00
doc all: use t.Chdir in tests 2024-09-04 00:52:28 +00:00
fix cmd: replace many sort.Interface with slices.Sort and SortFunc 2024-09-03 20:55:18 +00:00
go cmd/go/testdata/script: skip part of test on unsupported platforms 2024-09-09 17:11:52 +00:00
gofmt cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
internal cmd/compile: optimize []byte(string1 + string2) 2024-09-10 21:20:57 +00:00
link cmd/link/internal/ld: rm os.Getwd from elf_test 2024-09-04 20:44:48 +00:00
nm cmd/nm: use t.TempDir 2024-09-06 13:25:54 +00:00
objdump cmd: use 16 bytes hash when possible 2024-09-04 18:27:07 +00:00
pack all: use t.Chdir in tests 2024-09-04 00:52:28 +00:00
pprof cmd: use testenv.Executable helper 2024-09-03 18:03:19 +00:00
preprofile cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
relnote
test2json cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
tools
trace cmd/trace: merge testdata debugging tools into the trace tool 2024-07-23 14:57:42 +00:00
vendor vendor/golang.org/x/tools: update to v0.24.1-0.20240904143311-70f56264139c 2024-09-04 20:42:05 +00:00
vet cmd: use testenv.Executable helper 2024-09-03 18:03:19 +00:00
go.mod vendor/golang.org/x/tools: update to v0.24.1-0.20240904143311-70f56264139c 2024-09-04 20:42:05 +00:00
go.sum vendor/golang.org/x/tools: update to v0.24.1-0.20240904143311-70f56264139c 2024-09-04 20:42:05 +00:00
README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.