mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +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
-1
@@ -18,7 +18,7 @@ func (c *Compiler) needsStackObjects() bool {
|
||||
return false
|
||||
}
|
||||
for _, tag := range c.BuildTags {
|
||||
if tag == "cortexm" || tag == "tinygo.riscv" {
|
||||
if tag == "baremetal" {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user