Skip to content

Commit 05c9512

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 delete the build constraints that are always satisfied when using supported Go versions. For golang/go#60268. Change-Id: Iab4a7237a368b1ac05bb72a646501defb51503f1 Reviewed-on: https://go-review.googlesource.com/c/arch/+/534197 Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent b6e8753 commit 05c9512

File tree

6 files changed

+1
-13
lines changed

6 files changed

+1
-13
lines changed

arm/armspec/spec.go

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.6 && (!386 || go1.8)
6-
// +build go1.6
7-
// +build !386 go1.8
8-
95
// ... see golang.org/issue/12840
106

117
// Armspec reads the “ARM Architecture Reference Manual”

arm/armspec/specmap.go

-1
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 ignore
6-
// +build ignore
76

87
package main
98

arm64/arm64spec/spec.go

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build (go1.6 && amd64) || go1.8
6-
// +build go1.6,amd64 go1.8
7-
85
// arm64spec reads the ``ARMv8-A Reference Manual''
96
// to collect instruction encoding details and writes those
107
// details to standard output in JSON format.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module golang.org/x/arch
22

3-
go 1.17
3+
go 1.18
44

55
require rsc.io/pdf v0.1.1

ppc64/ppc64spec/spec.go

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build (go1.6 && amd64) || go1.8
6-
// +build go1.6,amd64 go1.8
7-
85
// Power64spec reads the “Power ISA V2.07” Manual
96
// to collect instruction encoding details and writes those details to standard output
107
// in CSV format.

ppc64/ppc64util/util.go

-1
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 ignore
6-
// +build ignore
76

87
// Generate interesting test cases from ppc64 objdump via
98
// go run util.go

0 commit comments

Comments
 (0)