Skip to content

Commit

Permalink
all: update go directive to 1.18
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dmitshur authored and gopherbot committed Oct 10, 2023
1 parent b6e8753 commit 05c9512
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions arm/armspec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.6 && (!386 || go1.8)
// +build go1.6
// +build !386 go1.8

// ... see golang.org/issue/12840

// Armspec reads the “ARM Architecture Reference Manual”
Expand Down
1 change: 0 additions & 1 deletion arm/armspec/specmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

package main

Expand Down
3 changes: 0 additions & 3 deletions arm64/arm64spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (go1.6 && amd64) || go1.8
// +build go1.6,amd64 go1.8

// arm64spec reads the ``ARMv8-A Reference Manual''
// to collect instruction encoding details and writes those
// details to standard output in JSON format.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module golang.org/x/arch

go 1.17
go 1.18

require rsc.io/pdf v0.1.1
3 changes: 0 additions & 3 deletions ppc64/ppc64spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (go1.6 && amd64) || go1.8
// +build go1.6,amd64 go1.8

// Power64spec reads the “Power ISA V2.07” Manual
// to collect instruction encoding details and writes those details to standard output
// in CSV format.
Expand Down
1 change: 0 additions & 1 deletion ppc64/ppc64util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

// Generate interesting test cases from ppc64 objdump via
// go run util.go
Expand Down

0 comments on commit 05c9512

Please sign in to comment.