aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2024-02-09 16:35:29 +0100
committerGitHub <noreply@github.com>2024-02-09 16:35:29 +0100
commitfc8b353011c1cd8b5bd6216fcdc60e3777a00c64 (patch)
tree2c92f0f60b24ba3106aa8cb10f63b5f830e0cd84 /lib
parent416b9e8924a99a01520aaa08ee60050eaf200dc8 (diff)
downloadsyncthing-fc8b353011c1cd8b5bd6216fcdc60e3777a00c64.tar.gz
syncthing-fc8b353011c1cd8b5bd6216fcdc60e3777a00c64.zip
build: Use Go 1.22, minimum is Go 1.21 (#9408)
Also updated dependencies, and an adjustment to build tags for how those are handled and how irrelevant go1.15 is nowadays...
Diffstat (limited to 'lib')
-rw-r--r--lib/connections/quic_listen.go4
-rw-r--r--lib/connections/quic_misc.go4
-rw-r--r--lib/connections/quic_unsupported.go4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/connections/quic_listen.go b/lib/connections/quic_listen.go
index 92c06e143..df1384df6 100644
--- a/lib/connections/quic_listen.go
+++ b/lib/connections/quic_listen.go
@@ -4,8 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
-//go:build go1.15 && !noquic
-// +build go1.15,!noquic
+//go:build !noquic
+// +build !noquic
package connections
diff --git a/lib/connections/quic_misc.go b/lib/connections/quic_misc.go
index 4c5149ace..1ba4ed1a8 100644
--- a/lib/connections/quic_misc.go
+++ b/lib/connections/quic_misc.go
@@ -4,8 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
-//go:build go1.15 && !noquic
-// +build go1.15,!noquic
+//go:build !noquic
+// +build !noquic
package connections
diff --git a/lib/connections/quic_unsupported.go b/lib/connections/quic_unsupported.go
index 5dc555c29..274b57587 100644
--- a/lib/connections/quic_unsupported.go
+++ b/lib/connections/quic_unsupported.go
@@ -4,8 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
-//go:build noquic || !go1.15
-// +build noquic !go1.15
+//go:build noquic
+// +build noquic
package connections