mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
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.
This commit is contained in:
parent
b70dbfa0f7
commit
6f4671ed27
@ -4,7 +4,7 @@
|
|||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
// 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/.
|
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
// +build go1.12
|
// +build go1.12,!noquic
|
||||||
|
|
||||||
package connections
|
package connections
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
// 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/.
|
// You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
// +build go1.12
|
// +build go1.12,!noquic
|
||||||
|
|
||||||
package connections
|
package connections
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
// 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/.
|
// You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
// +build go1.12
|
// +build go1.12,!noquic
|
||||||
|
|
||||||
package connections
|
package connections
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user