aboutsummaryrefslogtreecommitdiffhomepage
path: root/go.mod
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-06-12 12:41:42 +0200
committerRon Evans <[email protected]>2024-06-12 14:46:47 +0200
commit385a7920e60d5272a841c3351552876ea6cfe5f7 (patch)
tree5882dcd48c8d7b481e83cb766a6845d356579dfa /go.mod
parent077b35e9ad030d7dcf1c35249378c5fa1608c2df (diff)
downloadtinygo-385a7920e60d5272a841c3351552876ea6cfe5f7.tar.gz
tinygo-385a7920e60d5272a841c3351552876ea6cfe5f7.zip
compiler: fix race condition by applying a proposed patch
This commit switches to v0.22.0 of golang.org/x/tools and then applies https://go-review.googlesource.com/c/tools/+/590815 to fix the race condition. In my testing, it seems to fix these issues.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod10
1 files changed, 6 insertions, 4 deletions
diff --git a/go.mod b/go.mod
index c034fa558..91d73591c 100644
--- a/go.mod
+++ b/go.mod
@@ -17,9 +17,9 @@ require (
github.com/mgechev/revive v1.3.7
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3
go.bug.st/serial v1.6.0
- golang.org/x/net v0.20.0
- golang.org/x/sys v0.16.0
- golang.org/x/tools v0.17.0
+ golang.org/x/net v0.26.0
+ golang.org/x/sys v0.21.0
+ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
gopkg.in/yaml.v2 v2.4.0
tinygo.org/x/go-llvm v0.0.0-20240518103902-697964f2a9dc
)
@@ -43,5 +43,7 @@ require (
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/spf13/afero v1.11.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/text v0.16.0 // indirect
)
+
+replace golang.org/x/tools => github.com/tinygo-org/tools v0.0.0-20240612102102-36af80766fc9