]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] go/doc/comment: don't include experimental packages in std list
authorCherry Mui <cherryyz@google.com>
Mon, 24 Nov 2025 17:03:59 +0000 (12:03 -0500)
committerCherry Mui <cherryyz@google.com>
Mon, 24 Nov 2025 18:08:53 +0000 (10:08 -0800)
commitf045ed4110aa430da0ba118d2be46f0d602d6633
treec0104b50886b647924f012d901dc8bd369c4ad5c
parent220d73cc44a0c580dc8ee10df6395c8e517e118f
[dev.simd] go/doc/comment: don't include experimental packages in std list

go/doc/comment/std.go has a list of top-level package prefixes in
the standard library. This list can vary depending on goexperiment,
but the file is static. E.g.

GOEXPERIMENT=arenas go test -run=TestStd go/doc/comment

would fail.

Don't include experimental packages, as they are not (yet)
generally available. We could have a per-experiment list of
package prefixes. But given that experimental packages are not
intended to be used widely (yet), it is probably not worth the
complexity.

Change-Id: Ib5bc060297cbae29c01fee458aaaa29600b81e98
Reviewed-on: https://go-review.googlesource.com/c/go/+/723840
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/go/doc/comment/mkstd.sh
src/go/doc/comment/std_test.go