]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: drop Go 1.12 compatibility on darwin
authorTobias Klauser <tklauser@distanz.ch>
Mon, 12 Sep 2022 15:18:49 +0000 (17:18 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 13 Sep 2022 15:49:37 +0000 (15:49 +0000)
commit8df21a78027d54faa8014ce9040bd8007d1b23e0
tree74400964ba60ebfa2e27785fcfabbc4606b4a89c
parentdad2966a83c1597786a96a8ef407ed412575ec94
cmd/link/internal/ld: drop Go 1.12 compatibility on darwin

Go 1.17 is the minimum required version for bootstrap as of Go 1.20.
Also, the package no longer builds with Go 1.12 used for bootstrap.
Thus, drop the Go 1.12 compatibility and used linkname unconditionally.

For #44505

Change-Id: Ic160aba4a33d580987b4633a3db03a025804d090
Reviewed-on: https://go-review.googlesource.com/c/go/+/430335
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
src/cmd/link/internal/ld/outbuf_darwin.go
src/cmd/link/internal/ld/outbuf_nofallocate.go
src/cmd/link/internal/ld/outbuf_notdarwin.go