mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 03:53:42 +00:00
all: use baremetal build tag
This simplifies adding more baremetal targets, like a GameBoy Advance, or baremetal x86 for unikernels.
This commit is contained in:
committed by
Ron Evans
parent
f76385850d
commit
54169c714f
@@ -1,4 +1,4 @@
|
||||
// +build arm,!avr,!cortexm,!tinygo.riscv
|
||||
// +build arm,!baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// +build avr cortexm tinygo.riscv
|
||||
// +build baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// +build gc.conservative
|
||||
// +build cortexm tinygo.riscv
|
||||
// +build baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// +build gc.conservative
|
||||
// +build !cortexm,!tinygo.riscv
|
||||
// +build !baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// +build gc.conservative
|
||||
// +build !cortexm,!tinygo.riscv
|
||||
// +build !baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// +build gc.conservative
|
||||
// +build cortexm tinygo.riscv
|
||||
// +build baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// +build darwin linux,!avr,!cortexm,!tinygo.riscv
|
||||
// +build darwin linux,!baremetal
|
||||
|
||||
package runtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user