Skip to content

Commit 8d4d3c6

Browse files
ysoldakdeadprogram
authored andcommitted
build: drop deprecated build tags
1 parent 146e2cd commit 8d4d3c6

File tree

418 files changed

+4
-425
lines changed

Some content is hidden

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

418 files changed

+4
-425
lines changed

Diff for: builder/tools-builtin.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build byollvm
2-
// +build byollvm
32

43
package builder
54

Diff for: builder/tools-external.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !byollvm
2-
// +build !byollvm
32

43
package builder
54

Diff for: cgo/libclang_config_llvm14.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !byollvm && llvm14
2-
// +build !byollvm,llvm14
32

43
package cgo
54

Diff for: cgo/libclang_config_llvm15.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !byollvm && !llvm14
2-
// +build !byollvm,!llvm14
32

43
package cgo
54

Diff for: src/crypto/rand/rand_arc4random.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build darwin || tinygo.wasm
2-
// +build darwin tinygo.wasm
32

43
// This implementation of crypto/rand uses the arc4random_buf function
54
// (available on both MacOS and WASI) to generate random numbers.

Diff for: src/crypto/rand/rand_baremetal.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build nrf || stm32 || (sam && atsamd51) || (sam && atsame5x)
2-
// +build nrf stm32 sam,atsamd51 sam,atsame5x
32

43
package rand
54

Diff for: src/crypto/rand/rand_urandom.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux && !baremetal && !wasi
2-
// +build linux,!baremetal,!wasi
32

43
// This implementation of crypto/rand uses the /dev/urandom pseudo-file to
54
// generate random numbers.

Diff for: src/device/arm/scb.go

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Cortex-M System Control Block-related definitions.
33

44
//go:build cortexm
5-
// +build cortexm
65

76
package arm
87

Diff for: src/device/avr/avr_tiny85.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build avr && attiny85
2-
// +build avr,attiny85
32

43
package avr
54

Diff for: src/device/nxp/hardfault.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// auto-generated by gen-device-svd.go) among devices in package nxp.
44

55
//go:build nxp && !mimxrt1062
6-
// +build nxp,!mimxrt1062
76

87
package nxp
98

Diff for: src/device/nxp/mimxrt1062_clock.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// peripherals of the NXP MIMXRT1062.
44

55
//go:build nxp && mimxrt1062
6-
// +build nxp,mimxrt1062
76

87
package nxp
98

Diff for: src/device/nxp/mimxrt1062_hardfault.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// auto-generated by gen-device-svd.go) among devices in package nxp.
44

55
//go:build nxp && mimxrt1062
6-
// +build nxp,mimxrt1062
76

87
package nxp
98

Diff for: src/device/nxp/mimxrt1062_mpu.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// of the NXP MIMXRT1062.
44

55
//go:build nxp && mimxrt1062
6-
// +build nxp,mimxrt1062
76

87
package nxp
98

Diff for: src/device/sam/atsamd51x-bitfields.go

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
33

44
//go:build sam && atsamd51
5-
// +build sam,atsamd51
65

76
// These are the supported pchctrl function numberings on the atsamd51x
87
// See http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D5xE5x_Family_Data_Sheet_DS60001507F.pdf

Diff for: src/device/sam/atsame5x-bitfields.go

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
33

44
//go:build sam && atsame5x
5-
// +build sam,atsame5x
65

76
// These are the supported pchctrl function numberings on the atsamd51x
87
// See http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D5xE5x_Family_Data_Sheet_DS60001507F.pdf

Diff for: src/examples/can/feather-m4-can.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build feather_m4_can
2-
// +build feather_m4_can
32

43
package main
54

Diff for: src/examples/caninterrupt/feather-m4-can.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build feather_m4_can
2-
// +build feather_m4_can
32

43
package main
54

Diff for: src/examples/dac/circuitplay_express.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build circuitplay_express
2-
// +build circuitplay_express
32

43
package main
54

Diff for: src/examples/dac/pyportal.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build pyportal
2-
// +build pyportal
32

43
package main
54

Diff for: src/examples/pininterrupt/circuitplay-express.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build circuitplay_express
2-
// +build circuitplay_express
32

43
package main
54

Diff for: src/examples/pininterrupt/pca10040.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build pca10040
2-
// +build pca10040
32

43
package main
54

Diff for: src/examples/pininterrupt/stm32.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32
2-
// +build stm32
32

43
package main
54

Diff for: src/examples/pininterrupt/wioterminal.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build wioterminal
2-
// +build wioterminal
32

43
package main
54

Diff for: src/examples/pwm/arduino-mega1280.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_mega1280
2-
// +build arduino_mega1280
32

43
package main
54

Diff for: src/examples/pwm/arduino.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino
2-
// +build arduino
32

43
package main
54

Diff for: src/examples/pwm/bluepill.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build bluepill
2-
// +build bluepill
32

43
package main
54

Diff for: src/examples/pwm/feather-m4.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build feather_m4
2-
// +build feather_m4
32

43
package main
54

Diff for: src/examples/pwm/itsybitsy-m0.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build itsybitsy_m0
2-
// +build itsybitsy_m0
32

43
package main
54

Diff for: src/examples/pwm/itsybitsy-m4.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build itsybitsy_m4
2-
// +build itsybitsy_m4
32

43
package main
54

Diff for: src/examples/pwm/nucleo-f722ze.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32f7
2-
// +build stm32f7
32

43
package main
54

Diff for: src/examples/pwm/nucleo-l031k6.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32l0
2-
// +build stm32l0
32

43
package main
54

Diff for: src/examples/pwm/nucleo-l432kc.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32l4
2-
// +build stm32l4
32

43
package main
54

Diff for: src/examples/pwm/nucleo-l552ze.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32l5
2-
// +build stm32l5
32

43
package main
54

Diff for: src/examples/pwm/pico.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build pico
2-
// +build pico
32

43
package main
54

Diff for: src/examples/pwm/stm32f4disco.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build stm32f4disco
2-
// +build stm32f4disco
32

43
package main
54

Diff for: src/internal/task/gc_stack_chain.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build gc.conservative && tinygo.wasm
2-
// +build gc.conservative,tinygo.wasm
32

43
package task
54

Diff for: src/internal/task/gc_stack_noop.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !gc.conservative || !tinygo.wasm
2-
// +build !gc.conservative !tinygo.wasm
32

43
package task
54

Diff for: src/internal/task/task_asyncify.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.asyncify
2-
// +build scheduler.asyncify
32

43
package task
54

Diff for: src/internal/task/task_none.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.none
2-
// +build scheduler.none
32

43
package task
54

Diff for: src/internal/task/task_stack.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks
2-
// +build scheduler.tasks
32

43
package task
54

Diff for: src/internal/task/task_stack_386.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && 386
2-
// +build scheduler.tasks,386
32

43
package task
54

Diff for: src/internal/task/task_stack_amd64.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && amd64 && !windows
2-
// +build scheduler.tasks,amd64,!windows
32

43
package task
54

Diff for: src/internal/task/task_stack_amd64_windows.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && amd64 && windows
2-
// +build scheduler.tasks,amd64,windows
32

43
package task
54

Diff for: src/internal/task/task_stack_arm.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && arm && !cortexm && !avr && !xtensa && !tinygo.riscv
2-
// +build scheduler.tasks,arm,!cortexm,!avr,!xtensa,!tinygo.riscv
32

43
package task
54

Diff for: src/internal/task/task_stack_arm64.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && arm64
2-
// +build scheduler.tasks,arm64
32

43
package task
54

Diff for: src/internal/task/task_stack_avr.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && avr
2-
// +build scheduler.tasks,avr
32

43
package task
54

Diff for: src/internal/task/task_stack_cortexm.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && cortexm
2-
// +build scheduler.tasks,cortexm
32

43
package task
54

Diff for: src/internal/task/task_stack_esp32.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && esp32
2-
// +build scheduler.tasks,esp32
32

43
package task
54

Diff for: src/internal/task/task_stack_esp8266.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && esp8266
2-
// +build scheduler.tasks,esp8266
32

43
package task
54

Diff for: src/internal/task/task_stack_tinygoriscv.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build scheduler.tasks && tinygo.riscv
2-
// +build scheduler.tasks,tinygo.riscv
32

43
package task
54

Diff for: src/machine/board_arduino.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino
2-
// +build arduino
32

43
package machine
54

Diff for: src/machine/board_arduino_mega1280.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_mega1280
2-
// +build arduino_mega1280
32

43
package machine
54

Diff for: src/machine/board_arduino_mega2560.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_mega2560
2-
// +build arduino_mega2560
32

43
package machine
54

Diff for: src/machine/board_arduino_mkr1000.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_mkr1000
2-
// +build arduino_mkr1000
32

43
// This contains the pin mappings for the Arduino MKR1000 board.
54
//

Diff for: src/machine/board_arduino_mkrwifi1010.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_mkrwifi1010
2-
// +build arduino_mkrwifi1010
32

43
// This contains the pin mappings for the Arduino MKR WiFi 1010 board.
54
//

Diff for: src/machine/board_arduino_nano.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_nano
2-
// +build arduino_nano
32

43
package machine
54

Diff for: src/machine/board_arduino_nano33.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build arduino_nano33
2-
// +build arduino_nano33
32

43
// This contains the pin mappings for the Arduino Nano33 IoT board.
54
//

Diff for: src/machine/board_arduino_zero.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build sam && atsamd21 && arduino_zero
2-
// +build sam,atsamd21,arduino_zero
32

43
package machine
54

Diff for: src/machine/board_atmega328p.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build (avr && atmega328p) || arduino || arduino_nano
2-
// +build avr,atmega328p arduino arduino_nano
32

43
package machine
54

Diff for: src/machine/board_atsamd21.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build (sam && atsamd21) || arduino_nano33 || circuitplay_express
2-
// +build sam,atsamd21 arduino_nano33 circuitplay_express
32

43
package machine
54

Diff for: src/machine/board_atsame54-xpro.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build atsame54_xpro
2-
// +build atsame54_xpro
32

43
package machine
54

Diff for: src/machine/board_badger2040.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build badger2040
2-
// +build badger2040
32

43
// This contains the pin mappings for the Badger 2040 Connect board.
54
//

Diff for: src/machine/board_bluepill.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build bluepill
2-
// +build bluepill
32

43
package machine
54

Diff for: src/machine/board_challenger_rp2040.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build challenger_rp2040
2-
// +build challenger_rp2040
32

43
package machine
54

0 commit comments

Comments
 (0)