Files
tinygo/src/os/executable_other.go
T
Ayke van Laethem 04e8f44370 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.
2021-09-28 20:28:15 +02:00

10 lines
148 B
Go

// +build !linux baremetal
package os
import "errors"
func Executable() (string, error) {
return "", errors.New("Executable not implemented")
}