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.
Этот коммит содержится в:
родитель
aa8e0bb509
коммит
77ec9b6369
281 изменённых файлов: 284 добавлений и 4 удалений
|
@ -1,3 +1,4 @@
|
|||
//go:build byollvm
|
||||
// +build byollvm
|
||||
|
||||
package builder
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build !byollvm
|
||||
// +build !byollvm
|
||||
|
||||
package builder
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Hand created file. DO NOT DELETE.
|
||||
// Cortex-M System Control Block-related definitions.
|
||||
|
||||
//go:build cortexm
|
||||
// +build cortexm
|
||||
|
||||
package arm
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_m4_can
|
||||
// +build feather_m4_can
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_m4_can
|
||||
// +build feather_m4_can
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build circuitplay_express
|
||||
// +build circuitplay_express
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pyportal
|
||||
// +build pyportal
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build circuitplay_express
|
||||
// +build circuitplay_express
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pca10040
|
||||
// +build pca10040
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32
|
||||
// +build stm32
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build wioterminal
|
||||
// +build wioterminal
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_mega1280
|
||||
// +build arduino_mega1280
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino
|
||||
// +build arduino
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build bluepill
|
||||
// +build bluepill
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_m4
|
||||
// +build feather_m4
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build itsybitsy_m0
|
||||
// +build itsybitsy_m0
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build itsybitsy_m4
|
||||
// +build itsybitsy_m4
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32f7
|
||||
// +build stm32f7
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32l0
|
||||
// +build stm32l0
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32l4
|
||||
// +build stm32l4
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32l5
|
||||
// +build stm32l5
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pico
|
||||
// +build pico
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32f4disco
|
||||
// +build stm32f4disco
|
||||
|
||||
package main
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino
|
||||
// +build arduino
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_mega1280
|
||||
// +build arduino_mega1280
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_mega2560
|
||||
// +build arduino_mega2560
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_mkr1000
|
||||
// +build arduino_mkr1000
|
||||
|
||||
// This contains the pin mappings for the Arduino MKR1000 board.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_mkrwifi1010
|
||||
// +build arduino_mkrwifi1010
|
||||
|
||||
// This contains the pin mappings for the Arduino MKR WiFi 1010 board.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_nano
|
||||
// +build arduino_nano
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build arduino_nano33
|
||||
// +build arduino_nano33
|
||||
|
||||
// This contains the pin mappings for the Arduino Nano33 IoT board.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && arduino_zero
|
||||
// +build sam,atsamd21,arduino_zero
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build (avr && atmega328p) || arduino || arduino_nano
|
||||
// +build avr,atmega328p arduino arduino_nano
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build (sam && atsamd21) || arduino_nano33 || circuitplay_express
|
||||
// +build sam,atsamd21 arduino_nano33 circuitplay_express
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build atsame54_xpro
|
||||
// +build atsame54_xpro
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build circuitplay_bluefruit
|
||||
// +build circuitplay_bluefruit
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build circuitplay_express
|
||||
// +build circuitplay_express
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build clue_alpha
|
||||
// +build clue_alpha
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build digispark
|
||||
// +build digispark
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build esp32_coreboard_v2
|
||||
// +build esp32_coreboard_v2
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build hifive1b
|
||||
// +build hifive1b
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && feather_m0
|
||||
// +build sam,atsamd21,feather_m0
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_m4_can
|
||||
// +build feather_m4_can
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_m4
|
||||
// +build feather_m4
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_nrf52840_sense
|
||||
// +build feather_nrf52840_sense
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_nrf52840
|
||||
// +build feather_nrf52840
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_stm32f405
|
||||
// +build feather_stm32f405
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build feather_rp2040
|
||||
// +build feather_rp2040
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build grandcentral_m4
|
||||
// +build grandcentral_m4
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build hifive1b
|
||||
// +build hifive1b
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build fe310 && hifive1b
|
||||
// +build fe310,hifive1b
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && itsybitsy_m0
|
||||
// +build sam,atsamd21,itsybitsy_m0
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build itsybitsy_m4
|
||||
// +build itsybitsy_m4
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build itsybitsy_nrf52840
|
||||
// +build itsybitsy_nrf52840
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build maixbit
|
||||
// +build maixbit
|
||||
|
||||
// Chip datasheet: https://s3.cn-north-1.amazonaws.com.cn/dl.kendryte.com/documents/kendryte_datasheet_20181011163248_en.pdf
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build lgt92
|
||||
// +build lgt92
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build m5stack
|
||||
// +build m5stack
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build m5stack_core2
|
||||
// +build m5stack_core2
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build maixbit
|
||||
// +build maixbit
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build k210 && maixbit
|
||||
// +build k210,maixbit
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build matrixportal_m4
|
||||
// +build matrixportal_m4
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build mdbt50qrx
|
||||
// +build mdbt50qrx
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build metro_m4_airlift
|
||||
// +build metro_m4_airlift
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build microbit_v2
|
||||
// +build microbit_v2
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build microbit
|
||||
// +build microbit
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nano_rp2040
|
||||
// +build nano_rp2040
|
||||
|
||||
// This contains the pin mappings for the Arduino Nano RP2040 Connect board.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nicenano
|
||||
// +build nicenano
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nodemcu
|
||||
// +build nodemcu
|
||||
|
||||
// Pinout for the NodeMCU dev kit.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nrf52840_mdk_usb_dongle
|
||||
// +build nrf52840_mdk_usb_dongle
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nrf52840_mdk
|
||||
// +build nrf52840_mdk
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nucleof103rb
|
||||
// +build nucleof103rb
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nucleof722ze
|
||||
// +build nucleof722ze
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nucleol031k6
|
||||
// +build nucleol031k6
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nucleol432kc
|
||||
// +build nucleol432kc
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nucleol552ze
|
||||
// +build nucleol552ze
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build p1am_100
|
||||
// +build p1am_100
|
||||
|
||||
// This contains the pin mappings for the ProductivityOpen P1AM-100 board.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build particle_argon
|
||||
// +build particle_argon
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build particle_boron
|
||||
// +build particle_boron
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build particle_xenon
|
||||
// +build particle_xenon
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pca10031
|
||||
// +build pca10031
|
||||
|
||||
// pca10031 is a nrf51 based dongle, intended for use in wireless applications.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pca10040
|
||||
// +build pca10040
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pca10056
|
||||
// +build pca10056
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pca10059
|
||||
// +build pca10059
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pico
|
||||
// +build pico
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pinetime_devkit0
|
||||
// +build pinetime_devkit0
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pybadge
|
||||
// +build pybadge
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd51 && pygamer
|
||||
// +build sam,atsamd51,pygamer
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build pyportal
|
||||
// +build pyportal
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && qtpy
|
||||
// +build sam,atsamd21,qtpy
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build reelboard
|
||||
// +build reelboard
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build stm32f469disco
|
||||
// +build stm32f469disco
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build nxp && mk66f18 && teensy36
|
||||
// +build nxp,mk66f18,teensy36
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build teensy40
|
||||
// +build teensy40
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && trinket_m0
|
||||
// +build sam,atsamd21,trinket_m0
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build wioterminal
|
||||
// +build wioterminal
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build x9pro
|
||||
// +build x9pro
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam && atsamd21 && xiao
|
||||
// +build sam,atsamd21,xiao
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build sam
|
||||
// +build sam
|
||||
|
||||
// This is the definition for I2S bus functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build avr && atmega
|
||||
// +build avr,atmega
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build avr && atmega1280
|
||||
// +build avr,atmega1280
|
||||
|
||||
package machine
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build avr && atmega1284p
|
||||
// +build avr,atmega1284p
|
||||
|
||||
package machine
|
||||
|
|
Показаны не все изменённые файлы, т.к. их слишком много Показать больше
Загрузка…
Создание таблицы
Сослаться в новой задаче