Fixed runtime build problem with darwin/amd64

For some strange reason the interaction between the go-sqlite3 lib and
the go-serial produced a weird panic as described in:

https://github.com/bugst/go-serial/issues/115
https://github.com/bugst/go-serial/issues/116

The solution is to just upgrade the x/unix package to the latest
version available at the moment.

Fix #115
Fix #116
This commit is contained in:
Cristian Maglie
2021-08-27 16:19:34 +02:00
parent adc54fb194
commit 40f997f235
2 changed files with 3 additions and 5 deletions

2
go.mod
View File

@@ -5,5 +5,5 @@ go 1.13
require (
github.com/creack/goselect v0.1.2
github.com/stretchr/testify v1.4.0
golang.org/x/sys v0.0.0-20200909081042-eff7692f9009
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf
)