2025-07-23 17:50:06 +00:00
|
|
|
## Compiler {#compiler}
|
|
|
|
|
|
2025-12-02 14:22:34 -08:00
|
|
|
<!-- CLs 707755, 722440 -->
|
|
|
|
|
|
|
|
|
|
The compiler can now allocate the backing store for slices on the stack in more
|
|
|
|
|
situations, which improves performance. If this change is causing trouble, the
|
|
|
|
|
[bisect tool](https://pkg.go.dev/golang.org/x/tools/cmd/bisect) can be used to
|
|
|
|
|
find the allocation causing trouble using the `-compile=variablemake` flag. All
|
|
|
|
|
such new stack allocations can also be turned off using
|
|
|
|
|
`-gcflags=all=-d=variablemakehash=n`.
|
|
|
|
|
|
2025-07-23 17:50:06 +00:00
|
|
|
## Assembler {#assembler}
|
|
|
|
|
|
|
|
|
|
## Linker {#linker}
|
|
|
|
|
|
2025-09-16 18:00:10 +02:00
|
|
|
On 64-bit ARM-based Windows (the `windows/arm64` port), the linker now supports internal
|
|
|
|
|
linking mode of cgo programs, which can be requested with the
|
|
|
|
|
`-ldflags=-linkmode=internal` flag.
|
|
|
|
|
|
2025-08-08 20:20:47 -04:00
|
|
|
## Bootstrap {#bootstrap}
|
2025-07-23 17:50:06 +00:00
|
|
|
|
2025-08-08 20:20:47 -04:00
|
|
|
<!-- go.dev/issue/69315 -->
|
|
|
|
|
As mentioned in the [Go 1.24 release notes](/doc/go1.24#bootstrap), Go 1.26 now requires
|
|
|
|
|
Go 1.24.6 or later for bootstrap.
|
|
|
|
|
We expect that Go 1.28 will require a minor release of Go 1.26 or later for bootstrap.
|