Skip to content

Commit 77ec9b6

Browse files
aykevldeadprogram
authored andcommitted
all: update build constraints to Go 1.17
Do it all at once in preparation for Go 1.18 support. To make this commit, I've simply modified the `fmt-check` Makefile target to rewrite files instead of listing the differences. So this is a fully mechanical change, it should not have introduced any errors.
1 parent aa8e0bb commit 77ec9b6

File tree

281 files changed

+284
-4
lines changed

Some content is hidden

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

281 files changed

+284
-4
lines changed

builder/tools-builtin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build byollvm
12
// +build byollvm
23

34
package builder

builder/tools-external.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !byollvm
12
// +build !byollvm
23

34
package builder

src/device/arm/scb.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Hand created file. DO NOT DELETE.
22
// Cortex-M System Control Block-related definitions.
33

4+
//go:build cortexm
45
// +build cortexm
56

67
package arm

src/examples/can/feather-m4-can.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build feather_m4_can
12
// +build feather_m4_can
23

34
package main

src/examples/caninterrupt/feather-m4-can.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build feather_m4_can
12
// +build feather_m4_can
23

34
package main

src/examples/dac/circuitplay_express.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build circuitplay_express
12
// +build circuitplay_express
23

34
package main

src/examples/dac/pyportal.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build pyportal
12
// +build pyportal
23

34
package main

src/examples/pininterrupt/circuitplay-express.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build circuitplay_express
12
// +build circuitplay_express
23

34
package main

src/examples/pininterrupt/pca10040.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build pca10040
12
// +build pca10040
23

34
package main

src/examples/pininterrupt/stm32.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build stm32
12
// +build stm32
23

34
package main

0 commit comments

Comments
 (0)