tinygo/src/syscall
Ayke van Laethem 7e9d84777e darwin: fix syscall.Open on darwin/arm64
Unfortunately the calling convention for variadic functions is different from
the calling convention of regular functions on darwin/arm64, and open happens
to be such a variadic function. The syscall package treated it like a regular
function, which resulted in buggy behavior.

This fix introduces a wrapper function. This is the cleanest change I could
come up with.
2022-10-13 21:07:38 +02:00
..
errno.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
errno_other.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
file_emulated.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
file_hosted.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
mmap_unix_test.go Implement getpagesize and munmap. For go 1.18. 2022-03-18 13:44:30 +01:00
net.go extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
proc_emulated.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
proc_hosted.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
str.go net/ip, syscall/errno: Reduce code duplication by switching to internal/itoa. 2021-11-16 02:13:52 +01:00
syscall.go Add implementation for os.Exit and syscall.Exit 2019-06-12 19:04:34 +02:00
syscall_libc.go darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
syscall_libc_darwin.go darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
syscall_libc_darwin_amd64.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
syscall_libc_darwin_arm64.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
syscall_libc_nintendoswitch.go darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
syscall_libc_wasi.go darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
syscall_nonhosted.go syscall.Getpagesize(): add test, implement for Linux and Windows 2022-06-12 01:15:42 +02:00
tables_nonhosted.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00