Revert "Remove old-style build tags"

This reverts commit 11ae25660a.
This commit is contained in:
afjoseph 2021-10-28 10:53:04 +02:00 committed by Matt Joiner
parent 2a6152b832
commit 013634d9f1
13 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,5 @@
//go:build !wasm //go:build !wasm
// +build !wasm
package torrent package torrent

View File

@ -1,4 +1,5 @@
//go:build !wasm //go:build !wasm
// +build !wasm
package iplist package iplist

View File

@ -1,4 +1,5 @@
//go:build !wasm //go:build !wasm
// +build !wasm
package torrent package torrent

View File

@ -1,4 +1,5 @@
//go:build !noboltdb && !wasm //go:build !noboltdb && !wasm
// +build !noboltdb,!wasm
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build !noboltdb && !wasm //go:build !noboltdb && !wasm
// +build !noboltdb,!wasm
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build !noboltdb && !wasm //go:build !noboltdb && !wasm
// +build !noboltdb,!wasm
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build cgo && !nosqlite //go:build cgo && !nosqlite
// +build cgo,!nosqlite
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build !wasm //go:build !wasm
// +build !wasm
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build cgo && !nosqlite //go:build cgo && !nosqlite
// +build cgo,!nosqlite
package storage package storage

View File

@ -1,4 +1,5 @@
//go:build cgo //go:build cgo
// +build cgo
package sqliteStorage package sqliteStorage

View File

@ -1,4 +1,5 @@
//go:build cgo //go:build cgo
// +build cgo
package sqliteStorage package sqliteStorage

View File

@ -1,4 +1,5 @@
//go:build !wasm //go:build !wasm
// +build !wasm
package torrent package torrent

View File

@ -1,9 +1,10 @@
//go:build cgo && !disable_libutp //go:build cgo && !disable_libutp
// +build cgo,!disable_libutp
package torrent package torrent
import ( import (
utp "github.com/anacrolix/go-libutp" "github.com/anacrolix/go-libutp"
) )
func NewUtpSocket(network, addr string, fc firewallCallback) (utpSocket, error) { func NewUtpSocket(network, addr string, fc firewallCallback) (utpSocket, error) {