Skip to content

Commit 1bfbee0

Browse files
dmitshurgopherbot
authored andcommitted
all: update go directive to 1.18
Done with: go get [email protected] go mod tidy go fix ./... Using go1.21.3. Also update code generators to use only the new go:build lines, not the old +build ones. For golang/go#60268. Change-Id: I6aabc42efb6ab3329981100e1db2263aac5e92a6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/534222 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 1d9f0b6 commit 1bfbee0

File tree

418 files changed

+24
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+24
-534
lines changed

cpu/asm_aix_ppc64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gc
6-
// +build gc
76

87
#include "textflag.h"
98

cpu/cpu_aix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build aix
6-
// +build aix
76

87
package cpu
98

cpu/cpu_arm64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gc
6-
// +build gc
76

87
#include "textflag.h"
98

cpu/cpu_gc_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gc
6-
// +build gc
76

87
package cpu
98

cpu/cpu_gc_s390x.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gc
6-
// +build gc
76

87
package cpu
98

cpu/cpu_gc_x86.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build (386 || amd64 || amd64p32) && gc
6-
// +build 386 amd64 amd64p32
7-
// +build gc
86

97
package cpu
108

cpu/cpu_gccgo_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gccgo
6-
// +build gccgo
76

87
package cpu
98

cpu/cpu_gccgo_s390x.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build gccgo
6-
// +build gccgo
76

87
package cpu
98

cpu/cpu_gccgo_x86.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build (386 || amd64 || amd64p32) && gccgo
6-
// +build 386 amd64 amd64p32
7-
// +build gccgo
86

97
#include <cpuid.h>
108
#include <stdint.h>

cpu/cpu_gccgo_x86.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build (386 || amd64 || amd64p32) && gccgo
6-
// +build 386 amd64 amd64p32
7-
// +build gccgo
86

97
package cpu
108

0 commit comments

Comments
 (0)