mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 15:03:41 +00:00
syscall: add more stubs as needed for Go 1.20 support
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
package syscall
|
||||
|
||||
func Exec(argv0 string, argv []string, envv []string) (err error)
|
||||
|
||||
// The two SockaddrInet* structs have been copied from the Go source tree.
|
||||
|
||||
type SockaddrInet4 struct {
|
||||
Port int
|
||||
Addr [4]byte
|
||||
raw RawSockaddrInet4
|
||||
}
|
||||
|
||||
type SockaddrInet6 struct {
|
||||
Port int
|
||||
ZoneId uint32
|
||||
Addr [16]byte
|
||||
raw RawSockaddrInet6
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user