Skip to content

Commit 824cca5

Browse files
seankhliaogopherbot
authored andcommitted
_content/doc/install: document minimum bootstrap versions
Fixes golang/go#65654 Updates golang/go#54265 Updates golang/go#44505 Change-Id: Ia1c9b50a2f66b67db43e8dcd21b1002b66cf30fa Reviewed-on: https://go-review.googlesource.com/c/website/+/562619 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Robert Findley <[email protected]> Reviewed-by: Austin Clements <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent aa63696 commit 824cca5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

_content/doc/install/source.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ <h2 id="go14">Install Go compiler binaries for bootstrap</h2>
129129
root of a Go installation to use to build the new Go toolchain;
130130
<code>$GOROOT_BOOTSTRAP/bin/go</code> should be the go command to use.</p>
131131

132+
<p>
133+
The minimum version of Go required depends on the target version of Go:
134+
</p>
135+
136+
<ul>
137+
<li> Go &lt;= 1.4: a C toolchain.
138+
<li> 1.5 &lt;= Go &lt;= 1.19: a Go 1.4 compiler.
139+
<li> 1.20 &lt;= Go &lt;= 1.21: a Go 1.17 compiler.
140+
<li> 1.22 &lt;= Go &lt;= 1.23: a Go 1.20 compiler.
141+
<li> Going forward, Go version 1.N will require a Go 1.M compiler,
142+
where M is N-2 rounded down to an even number. Example: Go 1.24 and 1.25 require Go 1.22.
143+
</ul>
144+
132145
<p>
133146
There are four possible ways to obtain a bootstrap toolchain:
134147
</p>
@@ -149,7 +162,7 @@ <h3 id="bootstrapFromBinaryRelease">Bootstrap toolchain from binary release</h3>
149162
<p>
150163
To use a binary release as a bootstrap toolchain, see
151164
<a href="/dl/">the downloads page</a> or use any other
152-
packaged Go distribution.
165+
packaged Go distribution meeting the minimum version requirements.
153166
</p>
154167

155168
<h3 id="bootstrapFromCrosscompiledSource">Bootstrap toolchain from cross-compiled source</h3>

0 commit comments

Comments
 (0)