go doc broken in official go repo

49 views
Skip to first unread message

will....@gmail.com

unread,
Jul 18, 2024, 5:25:45 PM (3 days ago) Jul 18
to golang-nuts
I cloned the official Go repo locally, went into src/text/template, ran `go doc .`, and got this error:

go: downloading go1.23.0 (darwin/arm64)
go: download go1.23.0 for darwin/arm64: toolchain not available

It looks like src/go.mod declares 1.23. Shouldn't it be the latest self-host version, whatever that was? v1.20 or something? It seems like an error to declare a Go version that doesn't exist.

Will

Sean Liao

unread,
Jul 18, 2024, 7:29:29 PM (3 days ago) Jul 18
to golang-nuts
the bootstrap version only allows you to build enough of the compiler for it to run and build the rest of the distribution.
you should be using the go binary built from the given source tree when interacting with it.

- sean

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b4047237-8390-48dd-87f9-c935396a35e8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages