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.
This commit is contained in:
Ayke van Laethem
2022-02-03 19:21:17 +01:00
committed by Ron Evans
parent aa8e0bb509
commit 77ec9b6369
281 changed files with 284 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
//go:build (arm && !baremetal && !tinygo.wasm) || (arm && arm7tdmi)
// +build arm,!baremetal,!tinygo.wasm arm,arm7tdmi
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.riscv32
// +build tinygo.riscv32
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.riscv64
// +build tinygo.riscv64
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.wasm
// +build tinygo.wasm
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build xtensa
// +build xtensa
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build baremetal
// +build baremetal
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build !scheduler.none
// +build !scheduler.none
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build scheduler.none
// +build scheduler.none
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build linux
// +build linux
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build gc.leaking
// +build gc.leaking
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build gc.none
// +build gc.none
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build !baremetal
// +build !baremetal
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build avr
// +build avr
package interrupt
@@ -1,3 +1,4 @@
//go:build cortexm
// +build cortexm
package interrupt
@@ -1,3 +1,4 @@
//go:build esp32c3
// +build esp32c3
package interrupt
@@ -1,3 +1,4 @@
//go:build gameboyadvance
// +build gameboyadvance
package interrupt
+1
View File
@@ -1,3 +1,4 @@
//go:build k210
// +build k210
package interrupt
+1
View File
@@ -1,3 +1,4 @@
//go:build !baremetal
// +build !baremetal
package interrupt
@@ -1,3 +1,4 @@
//go:build sifive
// +build sifive
package interrupt
@@ -1,3 +1,4 @@
//go:build tinygo.riscv
// +build tinygo.riscv
package interrupt
@@ -1,3 +1,4 @@
//go:build xtensa
// +build xtensa
package interrupt
+1
View File
@@ -1,3 +1,4 @@
//go:build gc.conservative
// +build gc.conservative
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build baremetal || js
// +build baremetal js
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build darwin
// +build darwin
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build js
// +build js
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build linux
// +build linux
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build arm7tdmi
// +build arm7tdmi
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build avr && atmega
// +build avr,atmega
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd21
// +build sam,atsamd21
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd21 && atsamd21e18
// +build sam,atsamd21,atsamd21e18
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd21 && atsamd21g18
// +build sam,atsamd21,atsamd21g18
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build (sam && atsamd51) || (sam && atsame5x)
// +build sam,atsamd51 sam,atsame5x
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd51 && atsamd51g19
// +build sam,atsamd51,atsamd51g19
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd51 && atsamd51j19
// +build sam,atsamd51,atsamd51j19
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd51 && atsamd51j20
// +build sam,atsamd51,atsamd51j20
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd51 && atsamd51p19
// +build sam,atsamd51,atsamd51p19
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsamd51 && atsamd51p20
// +build sam,atsamd51,atsamd51p20
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsame51 && atsame51j19
// +build sam,atsame51,atsame51j19
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build sam && atsame5x && atsame54p20
// +build sam,atsame5x,atsame54p20
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build (sam && atsame51) || (sam && atsame54)
// +build sam,atsame51 sam,atsame54
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build avr && attiny
// +build avr,attiny
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build cortexm
// +build cortexm
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build cortexm && !nxp && !qemu
// +build cortexm,!nxp,!qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build atsamd21 || nrf51
// +build atsamd21 nrf51
package runtime
@@ -1,3 +1,4 @@
//go:build cortexm && !atsamd21 && !nrf51
// +build cortexm,!atsamd21,!nrf51
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build cortexm && qemu
// +build cortexm,qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build esp32
// +build esp32
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build esp32c3
// +build esp32c3
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build esp32 || esp32c3
// +build esp32 esp32c3
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build esp8266
// +build esp8266
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build fe310
// +build fe310
// This file implements target-specific things for the FE310 chip as used in the
+1
View File
@@ -1,3 +1,4 @@
//go:build fe310 && !qemu
// +build fe310,!qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build fe310 && qemu
// +build fe310,qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build k210
// +build k210
// This file implements target-specific things for the K210 chip as used in the
+1
View File
@@ -1,3 +1,4 @@
//go:build k210 && !qemu
// +build k210,!qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build mimxrt1062
// +build mimxrt1062
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build mimxrt1062
// +build mimxrt1062
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build mimxrt1062
// +build mimxrt1062
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build mimxrt1062
// +build mimxrt1062
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build nintendoswitch
// +build nintendoswitch
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build nrf
// +build nrf
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build nrf && !softdevice
// +build nrf,!softdevice
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build nrf && softdevice
// +build nrf,softdevice
package runtime
+1
View File
@@ -27,6 +27,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//go:build nxp && mk66f18
// +build nxp,mk66f18
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build rp2040
// +build rp2040
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32
// +build stm32
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32
// +build stm32
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32 && stm32f103
// +build stm32,stm32f103
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32f405
// +build stm32f405
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32 && stm32f7x2
// +build stm32,stm32f7x2
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32l0
// +build stm32l0
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32l0x1
// +build stm32l0x1
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32l0x2
// +build stm32l0x2
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build stm32 && stm32l5x2
// +build stm32,stm32l5x2
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.riscv32
// +build tinygo.riscv32
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.riscv64
// +build tinygo.riscv64
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.riscv && virt && qemu
// +build tinygo.riscv,virt,qemu
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.wasm
// +build tinygo.wasm
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build tinygo.wasm && wasi
// +build tinygo.wasm,wasi
package runtime
+1
View File
@@ -1,3 +1,4 @@
//go:build scheduler.tasks
// +build scheduler.tasks
package runtime
+1
View File
@@ -27,6 +27,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//go:build nxp && mk66f18
// +build nxp,mk66f18
package runtime
@@ -1,3 +1,4 @@
//go:build nxp && mk66f18
// +build nxp,mk66f18
package volatile
+2 -2
View File
@@ -1,5 +1,5 @@
// +build !tinygo.riscv
// +build !cortexm
//go:build !tinygo.riscv && !cortexm
// +build !tinygo.riscv,!cortexm
package runtime