mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
os: don't try to read executable path on baremetal
Baremetal systems usually pretend to be GOOS=linux, so an extra build tag is needed here.
This commit is contained in:
committed by
Ron Evans
parent
e02727679f
commit
04e8f44370
@@ -1,4 +1,4 @@
|
||||
// +build !linux
|
||||
// +build !linux baremetal
|
||||
|
||||
package os
|
||||
|
||||
|
||||
Reference in New Issue
Block a user