mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be used on darwin, see [1]. Instead, use the fcntl libSystem wrappers provided by the golang.org/x/sys/unix package which implement the same functionality. [1] https://golang.org/doc/go1.12#darwin