mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
Implement os.Executable
For now this is a stub for everything but linux, which is a slightly modified copy of the official implementation. Should address #1778.
This commit is contained in:
committed by
Ron Evans
parent
97d48e5c02
commit
f0936ffccb
@@ -0,0 +1,9 @@
|
||||
// +build !linux
|
||||
|
||||
package os
|
||||
|
||||
import "errors"
|
||||
|
||||
func Executable() (string, error) {
|
||||
return "", errors.New("Executable not implemented")
|
||||
}
|
||||
Reference in New Issue
Block a user