Pārlūkot izejas kodu

lib/connections: Remove future go build constraints on quic (#7898)

Simon Frei 4 gadi atpakaļ
vecāks
revīzija
70a840d3d5

+ 2 - 2
lib/connections/quic_dial.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 https://mozilla.org/MPL/2.0/.
 
-//go:build go1.14 && !noquic && !go1.17
-// +build go1.14,!noquic,!go1.17
+//go:build go1.15 && !noquic
+// +build go1.15,!noquic
 
 package connections
 

+ 2 - 2
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.14 && !noquic && !go1.17
-// +build go1.14,!noquic,!go1.17
+//go:build go1.15 && !noquic
+// +build go1.15,!noquic
 
 package connections
 

+ 2 - 2
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.14 && !noquic && !go1.17
-// +build go1.14,!noquic,!go1.17
+//go:build go1.15 && !noquic
+// +build go1.15,!noquic
 
 package connections
 

+ 2 - 2
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.14 || go1.17
-// +build noquic !go1.14 go1.17
+//go:build noquic || !go1.15
+// +build noquic !go1.15
 
 package connections