mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 12:33:42 +00:00
build: drop deprecated build tags
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build (arm && !baremetal && !tinygo.wasm) || (arm && arm7tdmi)
|
||||
// +build arm,!baremetal,!tinygo.wasm arm,arm7tdmi
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr
|
||||
// +build avr
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm
|
||||
// +build cortexm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv
|
||||
// +build tinygo.riscv
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv32
|
||||
// +build tinygo.riscv32
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv64
|
||||
// +build tinygo.riscv64
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.wasm
|
||||
// +build tinygo.wasm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.wasm && !custommalloc
|
||||
// +build tinygo.wasm,!custommalloc
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build xtensa
|
||||
// +build xtensa
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal && !tinygo.wasm
|
||||
// +build baremetal,!tinygo.wasm
|
||||
|
||||
// Automatically generated file. DO NOT EDIT.
|
||||
// This file implements standins for non-native atomics using critical sections.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal
|
||||
// +build baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !scheduler.none
|
||||
// +build !scheduler.none
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build scheduler.none
|
||||
// +build scheduler.none
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.conservative
|
||||
// +build gc.conservative
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
//go:build gc.conservative && (baremetal || tinygo.wasm)
|
||||
// +build gc.conservative
|
||||
// +build baremetal tinygo.wasm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.leaking
|
||||
// +build gc.leaking
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.none
|
||||
// +build gc.none
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.conservative && tinygo.wasm
|
||||
// +build gc.conservative,tinygo.wasm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.conservative && !tinygo.wasm
|
||||
// +build gc.conservative,!tinygo.wasm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal
|
||||
// +build !baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr
|
||||
// +build avr
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm
|
||||
// +build cortexm
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32c3
|
||||
// +build esp32c3
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gameboyadvance
|
||||
// +build gameboyadvance
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build k210
|
||||
// +build k210
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal
|
||||
// +build !baremetal
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sifive
|
||||
// +build sifive
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv
|
||||
// +build tinygo.riscv
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build xtensa
|
||||
// +build xtensa
|
||||
|
||||
package interrupt
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !runtime_memhash_tsip && !runtime_memhash_leveldb
|
||||
// +build !runtime_memhash_tsip,!runtime_memhash_leveldb
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build runtime_memhash_leveldb
|
||||
// +build runtime_memhash_leveldb
|
||||
|
||||
// This is the hash function from Google's leveldb key-value storage system. It
|
||||
// processes 4 bytes at a time making it faster than the FNV hash for buffer
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build runtime_memhash_tsip
|
||||
// +build runtime_memhash_tsip
|
||||
|
||||
// This is the tsip hash developed by Damian Gryski, based on ideas from SipHash.
|
||||
// It is slower than leveldb's hash, but should be "stronger".
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.conservative
|
||||
// +build gc.conservative
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gc.leaking
|
||||
// +build gc.leaking
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal || js
|
||||
// +build baremetal js
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build js
|
||||
// +build js
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build linux && !baremetal && !nintendoswitch && !wasi
|
||||
// +build linux,!baremetal,!nintendoswitch,!wasi
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
//go:build linux && (baremetal || nintendoswitch || wasi)
|
||||
// +build linux
|
||||
// +build baremetal nintendoswitch wasi
|
||||
|
||||
// Other systems that aren't operating systems supported by the Go toolchain
|
||||
// need to pretend to be an existing operating system. Linux seems like a good
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arm7tdmi
|
||||
// +build arm7tdmi
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr && atmega
|
||||
// +build avr,atmega
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21
|
||||
// +build sam,atsamd21
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && atsamd21e18
|
||||
// +build sam,atsamd21,atsamd21e18
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && atsamd21g18
|
||||
// +build sam,atsamd21,atsamd21g18
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build (sam && atsamd51) || (sam && atsame5x)
|
||||
// +build sam,atsamd51 sam,atsame5x
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && atsamd51g19
|
||||
// +build sam,atsamd51,atsamd51g19
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && atsamd51j19
|
||||
// +build sam,atsamd51,atsamd51j19
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && atsamd51j20
|
||||
// +build sam,atsamd51,atsamd51j20
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && atsamd51p19
|
||||
// +build sam,atsamd51,atsamd51p19
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && atsamd51p20
|
||||
// +build sam,atsamd51,atsamd51p20
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsame51 && atsame51j19
|
||||
// +build sam,atsame51,atsame51j19
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsame5x && atsame54p20
|
||||
// +build sam,atsame5x,atsame54p20
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build (sam && atsame51) || (sam && atsame54)
|
||||
// +build sam,atsame51 sam,atsame54
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr && attiny
|
||||
// +build avr,attiny
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr
|
||||
// +build avr
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm
|
||||
// +build cortexm
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm && !nxp && !qemu
|
||||
// +build cortexm,!nxp,!qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build atsamd21 || nrf51
|
||||
// +build atsamd21 nrf51
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm && !atsamd21 && !nrf51
|
||||
// +build cortexm,!atsamd21,!nrf51
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build cortexm && qemu
|
||||
// +build cortexm,qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32
|
||||
// +build esp32
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32c3
|
||||
// +build esp32c3
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32 || esp32c3
|
||||
// +build esp32 esp32c3
|
||||
|
||||
package runtime
|
||||
|
||||
@@ -43,7 +42,10 @@ func initTimer() {
|
||||
// INCREASE: Count up every tick (as opposed to counting down).
|
||||
// DIVIDER: 16-bit prescaler, set to 2 for dividing the APB clock by two
|
||||
// (40MHz).
|
||||
// esp.TIMG0.T0CONFIG.Set(0 << esp.TIMG_T0CONFIG_T0_EN_Pos)
|
||||
esp.TIMG0.T0CONFIG.Set(esp.TIMG_T0CONFIG_T0_EN | esp.TIMG_T0CONFIG_T0_INCREASE | 2<<esp.TIMG_T0CONFIG_T0_DIVIDER_Pos)
|
||||
// esp.TIMG0.T0CONFIG.Set(1 << esp.TIMG_T0CONFIG_T0_DIVCNT_RST_Pos)
|
||||
// esp.TIMG0.T0CONFIG.Set(esp.TIMG_T0CONFIG_T0_EN)
|
||||
|
||||
// Set the timer counter value to 0.
|
||||
esp.TIMG0.T0LOADLO.Set(0)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp8266
|
||||
// +build esp8266
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build fe310
|
||||
// +build fe310
|
||||
|
||||
// This file implements target-specific things for the FE310 chip as used in the
|
||||
// HiFive1.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build fe310 && !qemu
|
||||
// +build fe310,!qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build fe310 && qemu
|
||||
// +build fe310,qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build k210
|
||||
// +build k210
|
||||
|
||||
// This file implements target-specific things for the K210 chip as used in the
|
||||
// MAix Bit with Mic.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build k210 && !qemu
|
||||
// +build k210,!qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mimxrt1062
|
||||
// +build mimxrt1062
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mimxrt1062
|
||||
// +build mimxrt1062
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mimxrt1062
|
||||
// +build mimxrt1062
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mimxrt1062
|
||||
// +build mimxrt1062
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nintendoswitch
|
||||
// +build nintendoswitch
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf && !nrf52840
|
||||
// +build nrf,!nrf52840
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf && nrf52840
|
||||
// +build nrf,nrf52840
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf && !softdevice
|
||||
// +build nrf,!softdevice
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf && softdevice
|
||||
// +build nrf,softdevice
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
// SOFTWARE.
|
||||
|
||||
//go:build nxp && mk66f18
|
||||
// +build nxp,mk66f18
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build rp2040
|
||||
// +build rp2040
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32
|
||||
// +build stm32
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32
|
||||
// +build stm32
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32f103
|
||||
// +build stm32,stm32f103
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
//go:build stm32f4 && (stm32f407 || stm32f469)
|
||||
// +build stm32f4
|
||||
// +build stm32f407 stm32f469
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32f405
|
||||
// +build stm32f405
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32f4 && stm32f407
|
||||
// +build stm32f4,stm32f407
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32f4 && stm32f469
|
||||
// +build stm32f4,stm32f469
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32f7x2
|
||||
// +build stm32,stm32f7x2
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32l0
|
||||
// +build stm32l0
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32l0x1
|
||||
// +build stm32l0x1
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32l0x2
|
||||
// +build stm32l0x2
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32l4
|
||||
// +build stm32,stm32l4
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32l4x2
|
||||
// +build stm32,stm32l4x2
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32l4x5
|
||||
// +build stm32,stm32l4x5
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32 && stm32l5x2
|
||||
// +build stm32,stm32l5x2
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32wlx
|
||||
// +build stm32wlx
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv32
|
||||
// +build tinygo.riscv32
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv64
|
||||
// +build tinygo.riscv64
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build tinygo.riscv && virt && qemu
|
||||
// +build tinygo.riscv,virt,qemu
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user