4 Commits

Author SHA1 Message Date
Vitaly Potyarkin
291695431f Do not set file descriptor into blocking mode
(*os.File).Fd() implicitly sets file descriptor into blocking mode [1], [2]
We avoid that by calling (*os.File).SyscallConn instead.
This method was added in go1.12 (released on 2019-02-25)

[1]: https://pkg.go.dev/os#File.Fd
[2]: https://cs.opensource.google/go/go/+/refs/tags/go1.20.3:src/os/file_unix.go;l=80-87
2023-04-28 09:24:09 +00:00
Fraser Waters
7de28cee0d Add GHA workflow to run test_crosscompile and go test (#141)
* Add GHA workflow to run test_crosscompile and go test
* crosscompile job doesn't need setup-go
* Test more go versions
* Test 1.6
* Remove 1.13 and add comment of testing strategy
2022-03-27 08:14:20 -04:00
Guillaume J. Charmes
f73a158a9a Simplify solaris implementation. (#120)
Remove golang.org/x/sys/unix dependency for solaris
Add new go build tag directives
2021-05-29 18:39:47 -04:00
Iain Buclaw
e9fe422625 Add support for NetBSD 386/amd64/arm (#117) 2021-05-16 12:17:26 -04:00