chore: add no_fake_tcp
complie option
This commit is contained in:
parent
c3ed06e99d
commit
c6873c5c04
@ -1,7 +0,0 @@
|
|||||||
//go:build no_doq
|
|
||||||
|
|
||||||
package features
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
TAGS = append(TAGS, "no_doq")
|
|
||||||
}
|
|
7
constant/features/no_fake_tcp.go
Normal file
7
constant/features/no_fake_tcp.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
//go:build no_fake_tcp
|
||||||
|
|
||||||
|
package features
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
TAGS = append(TAGS, "no_fake_tcp")
|
||||||
|
}
|
@ -1,7 +0,0 @@
|
|||||||
//go:build no_gvisor
|
|
||||||
|
|
||||||
package features
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
TAGS = append(TAGS, "no_gvisor")
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
//go:build linux
|
//go:build linux && !no_fake_tcp
|
||||||
// +build linux
|
// +build linux
|
||||||
|
|
||||||
package faketcp
|
package faketcp
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//go:build !linux
|
//go:build !linux || no_fake_tcp
|
||||||
// +build !linux
|
// +build !linux
|
||||||
|
|
||||||
package faketcp
|
package faketcp
|
||||||
|
Reference in New Issue
Block a user