chore: add no_fake_tcp complie option

This commit is contained in:
Skyxim 2023-03-29 13:35:29 +08:00
parent c3ed06e99d
commit c6873c5c04
5 changed files with 9 additions and 16 deletions

View File

@ -1,7 +0,0 @@
//go:build no_doq
package features
func init() {
TAGS = append(TAGS, "no_doq")
}

View File

@ -0,0 +1,7 @@
//go:build no_fake_tcp
package features
func init() {
TAGS = append(TAGS, "no_fake_tcp")
}

View File

@ -1,7 +0,0 @@
//go:build no_gvisor
package features
func init() {
TAGS = append(TAGS, "no_gvisor")
}

View File

@ -1,4 +1,4 @@
//go:build linux
//go:build linux && !no_fake_tcp
// +build linux
package faketcp

View File

@ -1,4 +1,4 @@
//go:build !linux
//go:build !linux || no_fake_tcp
// +build !linux
package faketcp