From 6f4671ed274b9a40d62e319f7ef8ff6a56b716aa Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 30 Jul 2020 09:40:29 +0200 Subject: [PATCH] lib/connections: Add noquic tag The QUIC package is notorious for being incompatible with either too old or too new Go releases. Currently it doesn't build with Go 1.15 RC and I want to test the rest with Go 1.15. With this I can do `go run build.go --tags noquic` to do that. --- lib/connections/quic_dial.go | 2 +- lib/connections/quic_listen.go | 2 +- lib/connections/quic_misc.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/connections/quic_dial.go b/lib/connections/quic_dial.go index ed5dff62f..92afe3626 100644 --- a/lib/connections/quic_dial.go +++ b/lib/connections/quic_dial.go @@ -4,7 +4,7 @@ // 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/. -// +build go1.12 +// +build go1.12,!noquic package connections diff --git a/lib/connections/quic_listen.go b/lib/connections/quic_listen.go index 1ae970134..bf929c317 100644 --- a/lib/connections/quic_listen.go +++ b/lib/connections/quic_listen.go @@ -4,7 +4,7 @@ // 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/. -// +build go1.12 +// +build go1.12,!noquic package connections diff --git a/lib/connections/quic_misc.go b/lib/connections/quic_misc.go index ef6b63c44..cebc8e5eb 100644 --- a/lib/connections/quic_misc.go +++ b/lib/connections/quic_misc.go @@ -4,7 +4,7 @@ // 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/. -// +build go1.12 +// +build go1.12,!noquic package connections