mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
cmd/link/internal/ld: unconditionally use posix_fallocate on FreeBSD
Now that Go 1.24 is the minimum bootstrap toolchain we can drop the version dependent use of posix_fallocate on FreeBSD. For #69315 Change-Id: Ie0c7ca67e3c21138d690e1e11a12172d52619493 Reviewed-on: https://go-review.googlesource.com/c/go/+/699735 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
9d0829963c
commit
d52a56cce1
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build darwin || (freebsd && go1.21) || linux || (netbsd && go1.25)
|
||||
//go:build darwin || freebsd || linux || (netbsd && go1.25)
|
||||
|
||||
package ld
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build (freebsd && go1.21) || (netbsd && go1.25)
|
||||
//go:build freebsd || (netbsd && go1.25)
|
||||
|
||||
package ld
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !darwin && !(freebsd && go1.21) && !linux && !(netbsd && go1.25)
|
||||
//go:build !darwin && !freebsd && !linux && !(netbsd && go1.25)
|
||||
|
||||
package ld
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue